Change the default size of hash table to smaller value 69/1369/1
authorvlad shkapenyuk <vshkap@research.att.com>
Tue, 5 Nov 2019 22:03:13 +0000 (17:03 -0500)
committervlad shkapenyuk <vshkap@research.att.com>
Tue, 5 Nov 2019 22:03:13 +0000 (17:03 -0500)
Signed-off-by: vlad shkapenyuk <vshkap@research.att.com>
Change-Id: I37da29a2b8fdf7528bd90b0bb839209a3b4afbef

include/hfta/hash_table.h

index f5b1afe..45559f8 100644 (file)
@@ -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);