aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--common/hashmap.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/hashmap.h b/common/hashmap.h
index 396718fdc9..a38324bf80 100644
--- a/common/hashmap.h
+++ b/common/hashmap.h
@@ -312,7 +312,7 @@ Val &HashMap<Key, Val>::operator [](const Key &key) {
_nele++;
// Keep the load factor below 75%.
- if (_nele > _arrsize * 65 / 100) {
+ if (_nele > _arrsize * 75 / 100) {
expand_array(nextTableSize(_arrsize));
ctr = lookup(key);
}