3 ms·
That's addressed in that very section: > Moreover, an adversary can try to increase a number of necessary rehashes. It seems to me that the section is a bit t
by Veedrac 10y ago
That's addressed in that very section:
> Moreover, an adversary can try to increase a number of necessary rehashes.
It seems to me that the section is a bit too dismissive, though, as there are hash tables and hash functions that mitigate these concerns. In particular, collisions can be replaced with trees, like in Java, limiting the worst case to O(log n) again.
- lorenzhs 10y agoRehashes and bad probing behaviour aren't quite the same thing, but I'll let it count and admit I may have replied too quickly ;)