Skip to content

Commit

Permalink
Reduce MIN_LOAD_FACTOR_FOR_REHASH.
Browse files Browse the repository at this point in the history
  • Loading branch information
Tessil committed Jul 16, 2017
1 parent f5e1e74 commit b7ae9e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/hopscotch_hash.h
Original file line number Diff line number Diff line change
Expand Up @@ -1778,7 +1778,7 @@ class hopscotch_hash: private Hash, private KeyEqual, private GrowthPolicy {

private:
static const std::size_t MAX_PROBES_FOR_EMPTY_BUCKET = 12*NeighborhoodSize;
static constexpr float MIN_LOAD_FACTOR_FOR_REHASH = has_key_compare<OverflowContainer>::value?0.3f:0.15f;
static constexpr float MIN_LOAD_FACTOR_FOR_REHASH = 0.1f;

private:
buckets_container_type m_buckets;
Expand Down

0 comments on commit b7ae9e6

Please sign in to comment.