arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2210.01560cs.DS
收藏

SicHash --用于完美散列的小型不规则布谷鸟表

SicHash -- Small Irregular Cuckoo Tables for Perfect Hashing

Hans-Peter Lehmann, Peter Sanders, Stefan Walzer

摘要:

完美散列函数(Perfect Hash Function,PHF)是一种在给定输入集上没有冲突的散列函数。PHF可以用于阵列中数据的空间有效存储,或者用于确定集合中每个对象的紧凑表示。在本文中,我们提出了PHF构造算法SicHash -用于完美哈希的小不规则布谷鸟表。在其核心,SicHash使用一种已知的技术:它将对象放在布谷鸟哈希表中,然后将每个对象的最终哈希函数选择存储在检索数据结构中。我们将这个想法与不规则的布谷鸟散列相结合,其中每个对象都有不同数量的散列函数。此外,我们使用许多小表,我们超载超过其渐近最大负载因子。最节省空间的竞争对手通常使用蛮力方法来确定PHF。SicHash提供了一种更直接的构造算法,很少需要重新计算部分。我们的实现提高了最先进的空间利用率与建设时间方面的各种配置。同时,它提供了非常快速的查询。

英文摘要:

A Perfect Hash Function (PHF) is a hash function that has no collisions on a given input set. PHFs can be used for space efficient storage of data in an array, or for determining a compact representative of each object in the set. In this paper, we present the PHF construction algorithm SicHash - Small Irregular Cuckoo Tables for Perfect Hashing. At its core, SicHash uses a known technique: It places objects in a cuckoo hash table and then stores the final hash function choice of each object in a retrieval data structure. We combine the idea with irregular cuckoo hashing, where each object has a different number of hash functions. Additionally, we use many small tables that we overload beyond their asymptotic maximum load factor. The most space efficient competitors often use brute force methods to determine the PHFs. SicHash provides a more direct construction algorithm that only rarely needs to recompute parts. Our implementation improves the state of the art in terms of space usage versus construction time for a wide range of configurations. At the same time, it provides very fast queries.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑