summary refs log tree commit diff stats
path: root/lib/pure/strtabs.nim
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2010-08-24 00:19:16 +0200
committerAraq <rumpf_a@web.de>2010-08-24 00:19:16 +0200
commite439c6b02e62837e1387e339d72fca91afd3981a (patch)
treee2b03747c77e8d7d05d7b0a947d4693dc78ee9ac /lib/pure/strtabs.nim
parentb1ca3ab7c517e5e6b1b9f549e3572c84dad77fb3 (diff)
downloadNim-e439c6b02e62837e1387e339d72fca91afd3981a.tar.gz
bugfix: init of temps
Diffstat (limited to 'lib/pure/strtabs.nim')
-rwxr-xr-xlib/pure/strtabs.nim2
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 =