@@ -40,7 +40,7 @@ from pandas._libs.missing cimport (
40
40
multiindex_nulls_shift = 2
41
41
42
42
43
- cdef inline bint is_definitely_invalid_key(object val):
43
+ cdef bint is_definitely_invalid_key(object val):
44
44
try :
45
45
hash (val)
46
46
except TypeError :
@@ -176,7 +176,7 @@ cdef class IndexEngine:
176
176
loc = self .values.searchsorted(self ._np_type(val), side = " left" )
177
177
return loc
178
178
179
- cdef inline _get_loc_duplicates(self , object val):
179
+ cdef _get_loc_duplicates(self , object val):
180
180
# -> Py_ssize_t | slice | ndarray[bool]
181
181
cdef:
182
182
Py_ssize_t diff, left, right
@@ -225,7 +225,7 @@ cdef class IndexEngine:
225
225
226
226
return self.unique == 1
227
227
228
- cdef inline _do_unique_check(self ):
228
+ cdef _do_unique_check(self ):
229
229
230
230
# this de-facto the same
231
231
self ._ensure_mapping_populated()
@@ -244,7 +244,7 @@ cdef class IndexEngine:
244
244
245
245
return self.monotonic_dec == 1
246
246
247
- cdef inline _do_monotonic_check(self ):
247
+ cdef _do_monotonic_check(self ):
248
248
cdef:
249
249
bint is_unique
250
250
try :
@@ -277,7 +277,7 @@ cdef class IndexEngine:
277
277
def is_mapping_populated (self ) -> bool:
278
278
return self.mapping is not None
279
279
280
- cdef inline _ensure_mapping_populated(self ):
280
+ cdef _ensure_mapping_populated(self ):
281
281
# this populates the mapping
282
282
# if its not already populated
283
283
# also satisfies the need_unique_check
@@ -932,7 +932,7 @@ cdef class SharedEngine:
932
932
933
933
return self ._get_loc_duplicates(val)
934
934
935
- cdef inline _get_loc_duplicates(self , object val):
935
+ cdef _get_loc_duplicates(self , object val):
936
936
# -> Py_ssize_t | slice | ndarray[bool]
937
937
cdef:
938
938
Py_ssize_t diff
0 commit comments