Lune

FOCS2024Top-tier venue

Tight Analyses of Ordered and Unordered Linear Probing

Mark Braverman, William Kuszmaul

Abstract

Linear-probing hash tables have been classically believed to support insertions in timeΘ(x2)\Theta(x^{2}), where1−1/x1-1/xis the load factor of the hash table. Recent work by Bender, Kuszmaul, and Kuszmaul (FOCS'21), however, has added a new twist to this story: in some versions of linear probing, if the maximum load factor is at most1−1/x1-1/x, then the amortized expected time per insertion will never exceedx polylog xx\ \text{polylog}\ x(even in workloads that operate continuously at a load factor of1−1/x1-1/x). Determining the exact asymptotic value for the amortized insertion time remains open. In this paper, we settle the amortized complexity with matching upper and lower bounds ofΘ(xlog⁡1.5x)\Theta(x\log^{1.5}x). Along the way, we also obtain tight bounds for the so-called path surplus problem, a problem in combinatorial geometry that has been shown to be closely related to linear probing. We also show how to extend Bender et al.'s bounds to say something not just about ordered linear probing (the version they study) but also about classical linear probing, in the form that is most widely implemented in practice.

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.

1 top-tier paper has 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

  • Succinct and Fast Tiny Pointer Hash Tables cites Vector Quotient Filters: Overcoming the Time/Space Trade-Off in Filter Design
  • Locally Uniform Hashing cites Linear Probing Revisited: Tombstones Mark the Demise of Primary Clustering
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers1

  1. Succinct and Fast Tiny Pointer Hash TablesXilin Tang, Yuqi Mai, William Kuszmaul, Alex ConwayVLDB 2026

Builds on3

  1. Vector Quotient Filters: Overcoming the Time/Space Trade-Off in Filter DesignPrashant Pandey, Alex Conway, Joe Durie, Michael A. Bender et al.SIGMOD 2021 · 40 citations
  2. Linear Probing Revisited: Tombstones Mark the Demise of Primary ClusteringMichael A. Bender, Bradley C. Kuszmaul, William KuszmaulFOCS 2021 · 11 citations
  3. Locally Uniform HashingIoana O. Bercea, Lorenzo Beretta, Jonas Klausen, Jakob Bæk Tejs Houen et al.FOCS 2023 · 4 citations

Related papers

  1. Optimal Bounds for Open Addressing Without ReorderingMartín Farach-Colton, Andrew Krapivin, William KuszmaulFOCS 2024 · 3 citations
  2. Optimal Non-oblivious Open AddressingMichael A. Bender, William Kuszmaul, Renfei ZhouSTOC 2025 · 1 citation
  3. Greedy Open Addressing Revisited: Beyond Yao's Lower BoundMartín Farach-Colton, Andrew Krapivin, William KuszmaulSTOC 2026 · 2 citations
  4. Tight Bounds for Classical Open AddressingMichael A. Bender, William Kuszmaul, Renfei ZhouFOCS 2024 · 2 citations
  5. On the optimal time/space tradeoff for hash tablesMichael A. Bender, Martin Farach-Colton, John Kuszmaul, William Kuszmaul et al.STOC 2022 · 20 citations
Dusk over the sea between two cliffs drawn in fine vertical lines