From e032250d42655e94ec3904eab83091d2f577f04c Mon Sep 17 00:00:00 2001 From: shadeMe <shadeMe@users.noreply.github.com> Date: Wed, 17 Aug 2022 12:10:51 +0200 Subject: [PATCH] `strings`: Remove unused `hash32_utf8` function --- spacy/strings.pyx | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/spacy/strings.pyx b/spacy/strings.pyx index c5f218342..973d4abb4 100644 --- a/spacy/strings.pyx +++ b/spacy/strings.pyx @@ -3,7 +3,7 @@ cimport cython from libc.string cimport memcpy from libcpp.set cimport set from libc.stdint cimport uint32_t -from murmurhash.mrmr cimport hash64, hash32 +from murmurhash.mrmr cimport hash64 import srsly @@ -61,9 +61,6 @@ cdef hash_t hash_utf8(char* utf8_string, int length) nogil: return hash64(utf8_string, length, 1) -cdef uint32_t hash32_utf8(char* utf8_string, int length) nogil: - return hash32(utf8_string, length, 1) - cdef str decode_Utf8Str(const Utf8Str* string): cdef int i, length