MapEmbed: Perfect Hashing with High Load Factor and Fast Update
Yuhan Wu, Zirui Liu, Xiang Yu, Jie Gui, Haochen Gan, Yuhao Han, Tao Li, Ori Rottenstreich, Tong Yang
Abstract
1 Perfect hashing is a hash function that maps a set of distinct keys to a set of continuous integers without collision. However, most existing perfect hash schemes are static, which means that they cannot support incremental updates, while most datasets in practice are dynamic. To address this issue, we propose a novel hashing scheme, namely MapEmbed Hashing. Inspired by divideand-conquer and map-and-reduce, our key idea is named mapand-embed and includes two phases: 1) Map all keys into many small virtual tables; 2) Embed all small tables into a large table by circular move. Our experimental results show that under the same experimental setting, the state-of-the-art perfect hashing (dynamic perfect hashing) can achieve around 15% load factor, around 0.3 Mops update speed, while our MapEmbed achieves around 90% ∼ 95% load factor, and around 8.0 Mops update speed per thread. All codes of ours and other algorithms are open-sourced at GitHub.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext 32cf4f12-b759-4bfe-9864-60dc5fbd5f59Cited by top-tier papers4
- Can Learned Models Replace Hash Functions?Ibrahim Sabek, Kapil Vaidya, Dominik Horn, Andreas Kipf et al.VLDB 2023 · 29 citations
- KVSAgg: Secure Aggregation of Distributed Key-Value SetsYuhan Wu, Siyuan Dong, Yi Zhou, Yikai Zhao et al.ICDE 2023 · 8 citations
- Wind-Bell Index: Towards Ultra-Fast Edge Query for Graph DatabasesRui Qiu, Yi Ming, Yisen Hong, Haoyu Li et al.ICDE 2023 · 5 citations
- 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
Builds on2
- Compositional Embeddings Using Complementary Partitions for Memory-Efficient Recommendation SystemsHao-Jun Michael Shi, Dheevatsa Mudigere, Maxim Naumov, Jiyan YangKDD 2020 · 88 citations
- Vacuum Filters: More Space-Efficient and Faster Replacement for Bloom and Cuckoo FiltersMinmei Wang, Mingxun Zhou, Shouqian Shi, Chen QianVLDB 2020 · 58 citations
Related papers
- 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
- EEPH: An Efficient Extendible Perfect Hashing for Hybrid PMem-DRAMQi Chen, Hao Hu, Cai Deng, Dingbang Liu et al.ICDE 2023 · 8 citations
- GPH: An Efficient and Effective Perfect Hashing Scheme for GPU ArchitecturesJiaping Cao, Le Xu, Man Lung Yiu, Jianbin Qin et al.SIGMOD 2025 · 4 citations
- Dash: Scalable Hashing on Persistent MemoryBaotong Lu, Xiangpeng Hao, Tianzheng Wang, Eric LoVLDB 2020 · 8 citations
- Revisiting Consistent Hashing with Bounded LoadsJohn Chen, Benjamin Coleman, Anshumali ShrivastavaAAAI 2021 · 10 citations
