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

基于路径分解的快速压缩Tries

Fast Compressed Tries through Path Decompositions

Roberto Grossi, Giuseppe Ottaviano

摘要:

Tries是用于存储一组字符串的流行数据结构,其中公共前缀由公共根到节点路径表示。五十多年的使用产生了许多变体和实现,以克服它们的一些限制。我们探索新的简洁的表示路径分解尝试和实验评估相应的减少空间使用和内存延迟,与国家的art.We研究两种情况下的应用:(1)压缩字典(压缩)字符串,(2)单调最小完美哈希字符串,保持其字典顺序。对于(1),我们获得了在空间效率方面优于其他最先进的压缩字典的数据结构,同时获得了与从业者优选的数据结构竞争的可预测查询时间。在(2)中,我们的尝试比其他基于trie的单调完美哈希函数快几倍,而占用的空间几乎相同。

英文摘要:

Tries are popular data structures for storing a set of strings, where common prefixes are represented by common root-to-node paths. Over fifty years of usage have produced many variants and implementations to overcome some of their limitations. We explore new succinct representations of path-decomposed tries and experimentally evaluate the corresponding reduction in space usage and memory latency, comparing with the state of the art. We study two cases of applications: (1) a compressed dictionary for (compressed) strings, and (2) a monotone minimal perfect hash for strings that preserves their lexicographic order. For (1), we obtain data structures that outperform other state-of-the-art compressed dictionaries in space efficiency, while obtaining predictable query times that are competitive with data structures preferred by the practitioners. In (2), our tries perform several times faster than other trie-based monotone perfect hash functions, while occupying nearly the same space.

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

↑