arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2109.04548cs.DS
收藏

Iceberg Hashing:同时优化多个哈希表标准

Iceberg Hashing: Optimizing Many Hash-Table Criteria at Once

Michael A. Bender, Alex Conway, Martín Farach-Colton, William Kuszmaul, Guido Tagliavini

AI总结:

本文提出Iceberg hashing,一种同时优化空间、缓存效率和失败概率等多个核心属性的稳定哈希表,并引入waterfall addressing等通用技术改进动态调整大小。

摘要:

尽管哈希表是计算机科学中最古老的数据结构之一,但它们仍然是大量理论和实证研究的焦点。造成这种情况的一个核心原因是,人们希望哈希表具备的许多基本属性很难同时实现;因此,人们提出了许多提供不同权衡的变体。本文介绍了Iceberg hashing,这是一种同时为大量核心属性提供已知最强保证的哈希表。Iceberg hashing支持常数时间操作,同时在空间效率、缓存效率和低失败概率方面改进了现有技术。Iceberg hashing也是第一个支持高达1 - o(1)的负载因子且保持稳定的哈希表,这意味着元素存储的位置仅在发生调整大小时才会改变。事实上,在键为Θ(log n)位的情况下,Iceberg hashing提供的空间保证,即使用至多log C(|U|, n) + O(n log log n)位来存储来自全域U的n个项,符合Demaine等人提出的适用于任何稳定哈希表的下界。Iceberg hashing为哈希表设计的一些最基本方面引入了新的通用技术。值得注意的是,我们用于动态调整大小的无间接技术(我们称之为waterfall addressing),以及我们用于实现稳定性和极高概率保证的技术,可以应用于任何利用前院/后院范式进行哈希表设计的哈希表。

英文摘要:

Despite being one of the oldest data structures in computer science, hash tables continue to be the focus of a great deal of both theoretical and empirical research. A central reason for this is that many of the fundamental properties that one desires from a hash table are difficult to achieve simultaneously; thus many variants offering different trade-offs have been proposed. This paper introduces Iceberg hashing, a hash table that simultaneously offers the strongest known guarantees on a large number of core properties. Iceberg hashing supports constant-time operations while improving on the state of the art for space efficiency, cache efficiency, and low failure probability. Iceberg hashing is also the first hash table to support a load factor of up to $1 - o(1)$ while being stable, meaning that the position where an element is stored only ever changes when resizes occur. In fact, in the setting where keys are $Θ(\log n)$ bits, the space guarantees that Iceberg hashing offers, namely that it uses at most $\log \binom{|U|}{n} + O(n \log \log n)$ bits to store $n$ items from a universe $U$, matches a lower bound by Demaine et al. that applies to any stable hash table. Iceberg hashing introduces new general-purpose techniques for some of the most basic aspects of hash-table design. Notably, our indirection-free technique for dynamic resizing, which we call waterfall addressing, and our techniques for achieving stability and very-high probability guarantees, can be applied to any hash table that makes use of the front-yard/backyard paradigm for hash table design.

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

↑