epatrizio / cds

Data structures in C language
The Unlicense
0 stars 0 forks source link

HashSet / size management #7

Closed epatrizio closed 2 years ago

epatrizio commented 3 years ago

In order to optimize hash_set items access, buckets should be as small as possible. So, as soon as one bucket size exceeds a specific value (= max bucket size), we have to increase the hash table size.