计算机科学 > 数据结构与算法
[提交于 2022年5月10日]
标题:PaCHash: Packed and Compressed Hash Tables
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:We introduce PaCHash, a hash table that stores its objects contiguously in an array without intervening space, even if the objects have variable size. In particular, each object can be compressed using standard compression techniques. A small search data structure allows locating the objects in constant expected time. PaCHash is most naturally described as a static external hash table where it needs a constant number of bits of internal memory per block of external memory. Here, in some sense, PaCHash beats a lower bound on the space consumption of k-perfect hashing. An implementation for fast SSDs needs about 5 bits of internal memory per block of external memory, requires only one disk access (of variable length) per search operation, and has small internal search overhead compared to the disk access cost. Our experiments show that it has lower space consumption than all previous approaches even when considering objects of identical size.
提交历史
来自:Hans-Peter Lehmann[v1] 2022年5月10日 星期二 08:42:03 UTC