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.