Modern Minimal Perfect Hashing: A Survey
Hans‐Peter Lehmann, Thomas Mueller, Rasmus Pagh, Giulio Ermanno Pibiri, Peter Sanders, Sebastiano Vigna, Stefan Walzer
Karlsruhe Institute of Technology · University of Copenhagen
Key points
From the paper's conclusion- Perfect hashing has many applications, for example, to avoid collision resolution in static hash tables, and is used in databases, bioinformatics, and stringology.
Abstract
Given a set S of n keys, a perfect hash function for S maps the keys in S to the first m ≥ n integers without collisions. It may return an arbitrary result for any key not in S and is called minimal if m=n . The most important parameters are its space consumption, construction time, and query time. Years of research now enable modern perfect hash functions to be extremely fast to query, very space-efficient, and scale to billions of keys. Different approaches give different trade-offs between these aspects. For example, the smallest constructions get within 0.1% of the space lower bound of log 2 e bits per key. Others are particularly fast to query, requiring only one memory access. Perfect hashing has many applications, for example, to avoid collision resolution in static hash tables, and is used in databases, bioinformatics, and stringology. Since the last comprehensive survey in 1997, significant progress has been made. This survey covers the latest developments and provides a starting point for getting familiar with the topic. Additionally, our extensive experimental evaluation can serve as a guide to select a perfect hash function for use in applications.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Optimal Worst-Case Open Addressing: Braided Cuckoo HashingarXiv · 2026
- The probabilistic bound for perfect hashing is sharp only for binary alphabetsarXiv · 2026
- Incremental Open Addressing Has No Time-Space TradeoffarXiv · 2026
- Catalan Hashing: Efficient Linear Probing for Variable-Length ItemsarXiv · 2026
- Should Tables Be Sorted? Revisited with a Large Language ModelarXiv · 2026
- kache-hash: A dynamic, concurrent, and cache-efficient hash table for streaming k-mer operationsbioRxiv · 2026