Hacker News new | ask | show | jobs
by usefulcat 2946 days ago
> 1. Rehashing can be avoided if the table size is known in advance

With an open addressing implementation (Google's dense_hash_map, for example) this is only true if you rarely or never need to remove items from the map.