Reproduce “Catalan Hashing: Efficient Linear Probing for Variable-Length Items” on OpenResearch

Turn your favorite coding agents into research agents that review literature, develop hypotheses, and run experiments.

Universal app for Apple silicon and Intel. Requires macOS 11 or later.

About this paper

Alex Conway, Hanna Komlós, William Kuszmaul

The authors introduce Catalan hashing, a dynamic hash table that stores variable-length items inline by nesting representations and parsing delimiter tags during contiguous scans. At load factor 1−ε, under fully random hashing and an operation sequence independent of the hash functions, expected amortized scan costs are O(|x|/ε) for positive queries, O(1/ε) for negative queries, and O(|x| log^(1+δ)|x|/ε) for updates—not measured speeds.

Summary by alphaXiv.

Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.