bugfix: init of temps
This commit is contained in:
parent
b1ca3ab7c5
commit
e439c6b02e
15 changed files with 107 additions and 76 deletions
|
|
@ -73,7 +73,7 @@ proc mustRehash(length, counter: int): bool =
|
|||
assert(length > counter)
|
||||
result = (length * 2 < counter * 3) or (length - counter < 4)
|
||||
|
||||
proc nextTry(h, maxHash: THash): THash =
|
||||
proc nextTry(h, maxHash: THash): THash {.inline.} =
|
||||
result = ((5 * h) + 1) and maxHash
|
||||
|
||||
proc RawGet(t: PStringTable, key: string): int =
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue