取消了 i8* == i8* 实际使用 strcmp 的规则
This commit is contained in:
@@ -111,7 +111,7 @@ class HashTable:
|
||||
else:
|
||||
if sh == h:
|
||||
sk: str = self._slot_key(idx)
|
||||
if sk == key:
|
||||
if string.strcmp(sk, key) == 0:
|
||||
return idx
|
||||
idx = (idx + 1) & mask
|
||||
i += 1
|
||||
|
||||
Reference in New Issue
Block a user