Code Review
/
com
/
gs-lite.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
Change the default size of hash table to smaller value
[com/gs-lite.git]
/
include
/
hfta
/
hash_table.h
diff --git
a/include/hfta/hash_table.h
b/include/hfta/hash_table.h
index
f5b1afe
..
45559f8
100644
(file)
--- a/
include/hfta/hash_table.h
+++ b/
include/hfta/hash_table.h
@@
-119,7
+119,7
@@
private:
public:
- hash_table(const size_t n_buckets =
131072
, const double load = 0.5) {
+ hash_table(const size_t n_buckets =
51437
, const double load = 0.5) {
load_factor = load;
int nb;
for(nb=2;nb<n_buckets;nb*=2);