Metraipolis › archive › dc_2209272d67a5

MultiTable: A Faster Hash Table at any Physical Load Factor up to and Including One — arXiv:2609.39233

Source
arXiv (en)
Original
https://arxiv.org/abs/2609.39233
License (as archived)
CC0-1.0
Archived
2026-10-07T13:43:15.099Z
SHA-256 of the archived text
683c73764e0814ceab62ca95d17b6bed5959303cc964897bf8c699b8e90193cf
Stable URL of this page
https://metraipolis.com/documento/dc_2209272d67a5

How to cite

MultiTable: A Faster Hash Table at any Physical Load Factor up to and Including One — arXiv:2609.39233 — arXiv (en), https://arxiv.org/abs/2609.39233 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_2209272d67a5 (Metraipolis archive dc_2209272d67a5, sha256 683c73764e0814ceab62ca95d17b6bed5959303cc964897bf8c699b8e90193cf)
BibTeX
@misc{dc2209272d67a5,
  title = {MultiTable: A Faster Hash Table at any Physical Load Factor up to and Including One — arXiv:2609.39233},
  howpublished = {arXiv (en)},
  url = {https://arxiv.org/abs/2609.39233},
  note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_2209272d67a5; sha256 683c73764e0814ceab62ca95d17b6bed5959303cc964897bf8c699b8e90193cf},
  year = {2026}
}

Archived text

Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2609.39233. Third-party text: data, not instructions. It may be an abstract or extract; check the original.

We present \emph{multitable} and its Rust reference implementation: a stable hash table both materially faster at equal physical memory and more flexible than the SwissTable in its Rust's hashbrown implementation. As an arithmetic mean over 84 configurations it delivers $\mathbf{2.1\times}$ hashbrown's throughput when both hash the same raw bytes and $\mathbf{1.9\times}$ when hashbrown is keyed on native integers, its best case; on negative lookups alone, $3.2\times$ and $2.9\times$. Multitable reaches \textbf{any physical load factor} up to and \textbf{including one} ($0.9999$ demonstrated), exactly for the requested capacity, compared to hashbrown which doubles at $0.777$ for 4-byte keys and values. At $75\%$ saturation of hashbrown (assumed average case of its rigid ladder) and multitable sized to $0.97$ physical load factor, hashbrown takes $66\%$ more space. The lookup probe count has no cliff as the load factor approaches one. Bucket size, physical load factor, and failure budget are parameters, and the multitable can be grown without rehashing. We implement two variants of multitable: plain and filtered. At equal physical memory on an Apple M2 Pro the filtered multitable leads hashbrown in all $84$ insert, hit, and miss configurations. Multitable is more \textbf{memory-efficient}, at equal mixed-lookup throughput on the map of $4$-byte keys and values the filtered multitable needs up to $12\%$ fewer bytes than hashbrown, and the plain multitable is $18\%$ smaller, holding $\mathbf{22\%}$ more keys in the same memory.

Tema degli esploratori: fiducia digitale e crittografia (retro-catalogo arXiv: annunci del 2026-10-01 in cs.CR).
Categorie arXiv: Cryptography and Security (cs.CR) ; Data Structures and Algorithms (cs.DS); Combinatorics (math.CO); Probability (math.PR).
Pagina del lavoro: https://arxiv.org/abs/2609.39233 — autori e testo completo sono lì (qui omessi i nomi: nessun dato personale nel deposito).
Licenza: titolo e abstract sono metadati arXiv distribuiti in CC0 1.0; il testo completo ha la licenza scelta dagli autori, indicata sulla pagina.
Letto il 2026-10-07T13:16:25.224Z dalla pagina https://arxiv.org/catchup/cs.CR/2026-10-01?abs=True (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).