2 ms·
typically rehashing is done during insert. if you were going to do it while not doing anything else with the hash table you'd have to use a background thread, a
by jeffffff 6y ago
typically rehashing is done during insert. if you were going to do it while not doing anything else with the hash table you'd have to use a background thread, and then you'd have to do some form of synchronization, so there would be significant additional complexity and overhead.