skarupke / flat_hash_map

A very fast hashtable
1.69k stars 186 forks source link

consider adjust max_lookups linear to the number elements. #47

Open gongyiling opened 2 years ago

gongyiling commented 2 years ago

flat_hash_map done a talent job, i'm considering using it on my project. but i'm very concerns about bad hash function explode the memory, is it possible to set max_lookups linear to the number of elements? for example max_lookups = num_elements / 8.