取消了 i8* == i8* 实际使用 strcmp 的规则

This commit is contained in:
2026-07-30 21:56:41 +08:00
parent cfc30d735c
commit 377b60fd67
54 changed files with 129 additions and 3730 deletions

View File

@@ -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