Skip to content

Commit

Permalink
Reduce default max load factor to 0.75.
Browse files Browse the repository at this point in the history
  • Loading branch information
Tessil committed Aug 12, 2017
1 parent 1bd1173 commit f9e3f82
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tsl/ordered_hash.h
Original file line number Diff line number Diff line change
Expand Up @@ -1264,7 +1264,7 @@ class ordered_hash: private Hash, private KeyEqual {

public:
static const size_type DEFAULT_INIT_BUCKETS_SIZE = 16;
static constexpr float DEFAULT_MAX_LOAD_FACTOR = 0.9f;
static constexpr float DEFAULT_MAX_LOAD_FACTOR = 0.75f;

private:
static const size_type REHASH_ON_HIGH_NB_PROBES__NPROBES = 128;
Expand Down

0 comments on commit f9e3f82

Please sign in to comment.