diff options
author | Adam Ierymenko <adam.ierymenko@gmail.com> | 2016-08-05 15:02:01 -0700 |
---|---|---|
committer | Adam Ierymenko <adam.ierymenko@gmail.com> | 2016-08-05 15:02:01 -0700 |
commit | e2f783ebbd39466bc03bf115b20064d222b91944 (patch) | |
tree | e1c0bae8b5a180713435b588cecadccc858d22d5 /node/Hashtable.hpp | |
parent | 4d9b74b171d243abe2d2d6a0039865ece8a4a00c (diff) | |
download | infinitytier-e2f783ebbd39466bc03bf115b20064d222b91944.tar.gz infinitytier-e2f783ebbd39466bc03bf115b20064d222b91944.zip |
.
Diffstat (limited to 'node/Hashtable.hpp')
-rw-r--r-- | node/Hashtable.hpp | 4 |
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) |