Skip to content

Commit

Permalink
Reduce DEFAULT_MAX_LOAD_FACTOR to 0.5.
Browse files Browse the repository at this point in the history
  • Loading branch information
Tessil committed Aug 21, 2017
1 parent 9558c6b commit 159cb78
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tsl/robin_hash.h
Original file line number Diff line number Diff line change
Expand Up @@ -1355,7 +1355,7 @@ class robin_hash: private Hash, private KeyEqual, private GrowthPolicy {

public:
static const size_type DEFAULT_INIT_BUCKETS_SIZE = 16;
static constexpr float DEFAULT_MAX_LOAD_FACTOR = 0.67f;
static constexpr float DEFAULT_MAX_LOAD_FACTOR = 0.5f;

private:
static const distance_type REHASH_ON_HIGH_NB_PROBES__NPROBES = 128;
Expand Down

0 comments on commit 159cb78

Please sign in to comment.