projects
/
gnulib.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
f774d40
)
*** empty log message ***
author
Jim Meyering
<jim@meyering.net>
Sat, 20 Sep 1997 18:32:40 +0000
(18:32 +0000)
committer
Jim Meyering
<jim@meyering.net>
Sat, 20 Sep 1997 18:32:40 +0000
(18:32 +0000)
lib/hash.c
patch
|
blob
|
history
diff --git
a/lib/hash.c
b/lib/hash.c
index
1cb2339
..
e9cf28a
100644
(file)
--- a/
lib/hash.c
+++ b/
lib/hash.c
@@
-169,7
+169,7
@@
hash_get_table_size (const HT *ht)
return ht->hash_table_size;
}
return ht->hash_table_size;
}
-/*
TABLE_SIZE should
be prime. If WHEN_TO_REHASH is positive, when
+/*
CANDIDATE_TABLE_SIZE need not
be prime. If WHEN_TO_REHASH is positive, when
that percentage of table entries have been used, the table is
deemed too small; then a new, larger table (GROW_FACTOR times
larger than the previous size) is allocated and all entries in
that percentage of table entries have been used, the table is
deemed too small; then a new, larger table (GROW_FACTOR times
larger than the previous size) is allocated and all entries in