summaryrefslogtreecommitdiff
path: root/node/Hashtable.hpp
diff options
context:
space:
mode:
authorAdam Ierymenko <adam.ierymenko@gmail.com>2016-08-05 15:02:01 -0700
committerAdam Ierymenko <adam.ierymenko@gmail.com>2016-08-05 15:02:01 -0700
commite2f783ebbd39466bc03bf115b20064d222b91944 (patch)
treee1c0bae8b5a180713435b588cecadccc858d22d5 /node/Hashtable.hpp
parent4d9b74b171d243abe2d2d6a0039865ece8a4a00c (diff)
downloadinfinitytier-e2f783ebbd39466bc03bf115b20064d222b91944.tar.gz
infinitytier-e2f783ebbd39466bc03bf115b20064d222b91944.zip
.
Diffstat (limited to 'node/Hashtable.hpp')
-rw-r--r--node/Hashtable.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/node/Hashtable.hpp b/node/Hashtable.hpp
index f06b2230..c550191e 100644
--- a/node/Hashtable.hpp
+++ b/node/Hashtable.hpp
@@ -103,9 +103,9 @@ public:
friend class Hashtable::Iterator;
/**
- * @param bc Initial capacity in buckets (default: 128, must be nonzero)
+ * @param bc Initial capacity in buckets (default: 64, must be nonzero)
*/
- Hashtable(unsigned long bc = 128) :
+ Hashtable(unsigned long bc = 64) :
_t(reinterpret_cast<_Bucket **>(::malloc(sizeof(_Bucket *) * bc))),
_bc(bc),
_s(0)