From: vlad shkapenyuk Date: Tue, 5 Nov 2019 22:03:13 +0000 (-0500) Subject: Change the default size of hash table to smaller value X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F69%2F1369%2F1;p=com%2Fgs-lite.git Change the default size of hash table to smaller value Signed-off-by: vlad shkapenyuk Change-Id: I37da29a2b8fdf7528bd90b0bb839209a3b4afbef --- diff --git a/include/hfta/hash_table.h b/include/hfta/hash_table.h index f5b1afe..45559f8 100644 --- 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