diff --git a/pandas/_libs/hashing.pyx b/pandas/_libs/hashing.pyx index 4a12659aa1f57..9ea0fa73cbc9f 100644 --- a/pandas/_libs/hashing.pyx +++ b/pandas/_libs/hashing.pyx @@ -21,9 +21,6 @@ import_array() from pandas._libs.util cimport is_nan -DEF cROUNDS = 2 -DEF dROUNDS = 4 - @cython.boundscheck(False) def hash_object_array( @@ -162,6 +159,8 @@ cdef uint64_t low_level_siphash(uint8_t* data, size_t datalen, cdef uint8_t* end = data + datalen - (datalen % sizeof(uint64_t)) cdef int left = datalen & 7 cdef int left_byte + cdef int cROUNDS = 2 + cdef int dROUNDS = 4 b = (datalen) << 56 v3 ^= k1