diff options
author | Araq <rumpf_a@web.de> | 2010-08-24 00:19:16 +0200 |
---|---|---|
committer | Araq <rumpf_a@web.de> | 2010-08-24 00:19:16 +0200 |
commit | e439c6b02e62837e1387e339d72fca91afd3981a (patch) | |
tree | e2b03747c77e8d7d05d7b0a947d4693dc78ee9ac /lib/pure/strtabs.nim | |
parent | b1ca3ab7c517e5e6b1b9f549e3572c84dad77fb3 (diff) | |
download | Nim-e439c6b02e62837e1387e339d72fca91afd3981a.tar.gz |
bugfix: init of temps
Diffstat (limited to 'lib/pure/strtabs.nim')
-rwxr-xr-x | lib/pure/strtabs.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/pure/strtabs.nim b/lib/pure/strtabs.nim index 9779be5ff..1ac8930b0 100755 --- a/lib/pure/strtabs.nim +++ b/lib/pure/strtabs.nim @@ -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 = |