Hi
In several hash table implementations I've seen the usage of heuristics like "transpose" or "move to front" for items in a bucket.
- What are the advantages of using such heuristics? I could't figure it out myself.
- Which other optimizations can be done at the hash table / bucket level, why, and under which circumstances?
Optimizing hashing functions aside, please.