小指针
Tiny Pointers
摘要:
本文介绍了一种新的数据结构对象,我们称之为微小指针。在许多应用程序中,传统的$\log n $位指针可以用$o (\log n )$位微小指针代替,代价只是常数因子的时间开销。我们开发了一个全面的微小指针理论,并给出了固定大小的微小指针(即,所有微小指针必须具有相同大小的设置)和可变大小微小指针(即,在这些设置中,微型指针的平均大小必须很小,但某些微型指针可以更大)。如果一个微小指针引用一个数组中的元素,该数组填充为加载因子$1 - 1 / k$,那么在固定大小的情况下,最佳微小指针大小为$Θ(\log \log \log n + \log k) $位,在可变大小的情况下,最佳微小指针大小为$ Θ(\log k) $预期位。我们的小指针构造也要求我们重新审视几个与球和箱子有关的经典问题;这些结果可能是独立的兴趣。使用微小的指针,我们重新审视五个经典的数据结构问题:数据检索问题,简洁的动态二叉搜索树,空间高效的稳定字典,空间高效的字典与可变大小的关键字,和内部存储器隐藏问题。这些都是经过充分研究的问题,在每种情况下,微小的指针都允许我们采取一种自然的空间效率低下的解决方案,使用指针并免费使其空间效率。
英文摘要:
This paper introduces a new data-structural object that we call the tiny pointer. In many applications, traditional $\log n $-bit pointers can be replaced with $o (\log n )$-bit tiny pointers at the cost of only a constant-factor time overhead. We develop a comprehensive theory of tiny pointers, and give optimal constructions for both fixed-size tiny pointers (i.e., settings in which all of the tiny pointers must be the same size) and variable-size tiny pointers (i.e., settings in which the average tiny-pointer size must be small, but some tiny pointers can be larger). If a tiny pointer references an element in an array filled to load factor $1 - 1 / k$, then the optimal tiny-pointer size is $Θ(\log \log \log n + \log k) $ bits in the fixed-size case, and $ Θ(\log k) $ expected bits in the variable-size case. Our tiny-pointer constructions also require us to revisit several classic problems having to do with balls and bins; these results may be of independent interest. Using tiny pointers, we revisit five classic data-structure problems: the data-retrieval problem, succinct dynamic binary search trees, space-efficient stable dictionaries, space-efficient dictionaries with variable-size keys, and the internal-memory stash problem. These are all well-studied problems, and in each case tiny pointers allow for us to take a natural space-inefficient solution that uses pointers and make it space-efficient for free.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。