Lune

SIGIR2021Top-tier venue

PTHash: Revisiting FCH Minimal Perfect Hashing

Giulio Ermanno Pibiri, Roberto Trani

Abstract

Given a set 𝑆 of 𝑛 distinct keys, a function 𝑓 that bijectively maps the keys of 𝑆 into the range 0, . . . , 𝑛 -1 is called a minimal perfect hash function for 𝑆. Algorithms that find such functions when 𝑛 is large and retain constant evaluation time are of practical interest; for instance, search engines and databases typically use minimal perfect hash functions to quickly assign identifiers to static sets of variable-length keys such as strings. The challenge is to design an algorithm which is efficient in three different aspects: time to find 𝑓 (construction time), time to evaluate 𝑓 on a key of 𝑆 (lookup time), and space of representation for 𝑓 . Several algorithms have been proposed to trade-off between these aspects. In 1992, Fox, Chen, and Heath (FCH) presented an algorithm at SIGIR providing very fast lookup evaluation. However, the approach received little attention because of its large construction time and higher space consumption compared to other subsequent techniques. Almost thirty years later we revisit their framework and present an improved algorithm that scales well to large sets and reduces space consumption altogether, without compromising the lookup time. We conduct an extensive experimental assessment and show that the algorithm finds functions that are competitive in space with state-of-the art techniques and provide 2 -4× better lookup time.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

2 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers2

  1. Extendible RDMA-Based Remote Memory KV Store with Dynamic Perfect Hashing IndexZirui Liu, Xian Niu, Wei Zhou, Yisen Hong et al.ICDE 2025 · 1 citation
  2. RISK: Efficiently Processing Rich Spatial-Keyword Queries on Encrypted Geo-Textual DataZhen Lv, Cong Cao, Hongwei Huo, Jiangtao Cui et al.ICDE 2026

Related papers

  1. Constructing Minimal Perfect Hash Functions Using SAT TechnologySean A. Weaver, Marijn HeuleAAAI 2020 · 6 citations
  2. Meep Hashing: Ultrafast and Compact Minimal Perfect Hashing for Practical Large-Scale Lookup SystemsShouqian Shi, Diancheng Luo, Jacques Liao, Yi Liu et al.SIGMOD 2026
  3. Tight Bounds for Monotone Minimal Perfect HashingSepehr Assadi, Martin Farach-Colton, William KuszmaulSODA 2023 · 3 citations
  4. MapEmbed: Perfect Hashing with High Load Factor and Fast UpdateYuhan Wu, Zirui Liu, Xiang Yu, Jie Gui et al.KDD 2021 · 14 citations
  5. An extendable data structure for incremental stable perfect hashingIoana Oriana Bercea, Guy EvenSTOC 2022 · 2 citations
Dusk over the sea between two cliffs drawn in fine vertical lines