Change hash table size to use the power of 2
[com/gs-lite.git] / include / hfta / hash_table.h
index 45559f8..e82940c 100644 (file)
@@ -119,7 +119,7 @@ private:
 public:
 
 
-       hash_table(const size_t n_buckets = 51437, const double load = 0.5) {
+       hash_table(const size_t n_buckets = 65536, const double load = 0.5) {
                load_factor = load;
                int nb;
                for(nb=2;nb<n_buckets;nb*=2);