Fast Compressed Tries through Path Decompositions

Roberto Grossi, Giuseppe Ottaviano
11/22/2011
66 citations
cs.DS

Official code: ot/path_decomposed_tries (59 stars, C++, last commit 2023-01-27).

Abstract

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.

Show full abstract

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.

View on arXivView PDF

Code Implementations(1)

Implementation of the data structures described in the paper "Fast Compressed Tries using Path Decomposition".

5911C++Oct 3, 20113 years agoNOASSERTION

Similar Papers

Cite this paper

@article{grossi2011fast,
  title  = {Fast Compressed Tries through Path Decompositions},
  author = {Roberto Grossi and Giuseppe Ottaviano},
  year   = {2011},
  eprint = {1111.5220},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1111.5220}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/1111.5220.svg)](https://codeofpaper.com/paper/1111.5220)

Discussion