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

使用线性探测和引用完整性的散列

Hashing with Linear Probing and Referential Integrity

Peter Sanders

摘要:

我们描述了线性探测哈希表的一个变体,它从不移动元素,因此支持引用完整性,即,当该元素在哈希表中时,指向元素的指针保持有效。这是通过民间传说的方法来实现的,即将一些表格条目标记为以前被占用(墓碑)。创新之处在于墓碑的数量被最小化。实验表明,与没有墓碑(和没有引用完整性)的线性探测相比,这允许无限数量的操作和有限的开销。

英文摘要:

We describe a variant of linear probing hash tables that never moves elements and thus supports referential integrity, i.e., pointers to elements remain valid while this element is in the hash table. This is achieved by the folklore method of marking some table entries as formerly occupied (tombstones). The innovation is that the number of tombstones is minimized. Experiments indicate that this allows an unbounded number of operations with bounded overhead compared to linear probing without tombstones (and without referential integrity).

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

↑