# What’s New in Hash Tables? Hash tables have been a cornerstone of computer science for decades, but they continue to evolve with interesting theoretical and practical developments. Here’s an overview of recent advances: ## 1. **Better Worst-Case Guarantees** Traditional hash tables suffer from potential worst-case linear-time operations due to collisions. Recent work has focused on: – **Cuckoo hashing variants**: Improved schemes offering better load factors while maintaining O(1) worst-case lookup time – **Tabulation hashing**: Provides strong theoretical guarantees while being fast in practice, especially useful when you need provable randomness properties without full universal hashing overhead – **Robin Hood hashing**: Refinements that minimize variance in probe sequences, improving worst-case behavior in open addressing schemes ## 2. **Learned Hash Tables** One of the more exciting developments is the integration of **machine learning into data structure design**: – **Learned indexes** (following Kraska et al.’s influential work) use models to predict key positions, potentially reducing memory footprint and improving cache efficiency – Hybrid approaches combine learned models with traditional hashing to handle distribution shifts and edge cases gracefully ## 3. **Concurrent and Lock-Free Hash Tables** With multi-core systems being standard, there’s ongoing work on: – **Lock-free hash tables** that allow high-throughput concurrent access without traditional locking overhead – **Resizable concurrent hash tables**: Solving the challenge of resizing without stopping the world, using techniques like incremental rehashing – Hardware transactional memory (HTM) integration for better concurrency control ## 4. **Cache-Efficient Designs** Modern hash table research pays close attention to hardware realities: – **SIMD-friendly hash tables** that exploit vectorized instructions for faster probing – **Memory-efficient variants** like Swiss tables (used in Abseil/Google’s codebase) that pack metadata efficiently for better cache utilization – Techniques to minimize cache misses through better memory layout (e.g., open addressing with SIMD-based group probing) ## 5. **Perfect Hashing Advances** – **Minimal perfect hash functions (MPHFs)** continue to improve, offering near-optimal space usage (close to the information-theoretic lower bound) while maintaining fast construction and query times – Practical implementations like **PTHash** and **RecSplit** have made minimal perfect hashing more accessible for large-scale applications ## 6. **Hashing for Streaming and Sketching** – Integration with **streaming algorithms** for approximate membership queries (Bloom filter alternatives like **Cuckoo filters**, **Quotient filters**, and **Ribbon filters**) – These provide better space-time tradeoffs than classic Bloom filters in many scenarios ## 7. **Hashing in Distributed Systems** – **Consistent hashing** improvements for better load balancing in distributed caches and databases – **Rendezvous hashing (HRW)** gaining renewed attention as an alternative with different tradeoffs — Is there a particular direction you’re most interested in—theoretical guarantees, practical implementations, specific applications (e.g., databases, distributed systems), or the ML-hashing intersection? I’m happy to go deeper into any of these!
📅 Tuesday, December 2 | 3:00 PM
Abstract: The hash table was the very first (and second) data structure invented. So you would think we’d know pretty much all there is to know about them. Yet the last few years have seen the resolution of some surprisingly basic questions. In this talk, I’ll survey these new results and discuss how the new theory has lead to new practice.
Martin Farach-Colton is the Leonard J. Shustek Chair of Computer Science and Chair of the Department of Computer Science and Engineering at New York University. He is widely known in the field of algorithms for his work on stream processing, suffix tree construction, compressed text search, cache-oblivious algorithms, data structures for the lowest common ancestor and level ancestor problems, and hashing. He was previously Distinguished Professor of Computer Science at Rutgers University, worked at Google, and co-founded the storage start-up Tokutek.
There will be pizza to share!
Organized by: Gonzalo Navarro, DCC faculty member
Auditorio Picarte (Beauchef 851, North Building, 3rd Floor)
Live streaming at YouTube.com/dccuchile
*The talk will be given in Spanish.

