On Jan 24, 2020, at 11:11, d...@gnu.org wrote: >> Don't assume the hash function is perfect: create the table with more > buckets, >> say 2*size. > > I'd not do that. It's second-guessing the implementation. The size > should be good as a hint. In particular if there are actual > duplicates...
You are right. I hadn't read the documentation closely enough. The constructor argument is a minimum bucket count.