Grow the map by using prime numbers as size. Slower than tsl::power_of_two_growth_policy in general but will probably distribute the values around better in the buckets with a poor hash function.
Definition at line 233 of file hopscotch_hash.h.
#include <hopscotch_hash.h>
Private Member Functions | |
std::size_t | bucket_for_hash_iprime (std::size_t hash, unsigned int iprime) const |
Private Attributes | |
unsigned int | m_iprime |