Dynamic Path-Decomposed Tries

Shunsuke Kanda, Dominik Köppl, Yasuo Tabei, Kazuhiro Morita, Masao Fuketa
6/14/2019
10 citations
cs.DScs.IR

Official code: kampersanda/poplar-trie (59 stars, C++, MIT, last commit 2022-02-15). 1 more implementation below.

Abstract

A keyword dictionary is an associative array whose keys are strings. Recent applications handling massive keyword dictionaries in main memory have a need for a space-efficient implementation.

Show full abstract

When limited to static applications, there are a number of highly-compressed keyword dictionaries based on the advancements of practical succinct data structures. However, as most succinct data structures are only efficient in the static case, it is still difficult to implement a keyword dictionary that is space efficient and dynamic. In this article, we propose such a keyword dictionary. Our main idea is to embrace the path decomposition technique, which was proposed for constructing cache-friendly tries. To store the path-decomposed trie in small memory, we design data structures based on recent compact hash trie representations. Experiments on real-world datasets reveal that our dynamic keyword dictionary needs up to 68% less space than the existing smallest ones, while achieving a relevant space-time tradeoff.

View on arXivView PDF

Code Implementations(2)

Code implementations of this paper
RepositoryTypeStarsLanguageLicenseLast commit
kampersanda/poplar-trieOfficial59C++MIT2022-02-15
kampersanda/dictionary_benchOfficial3C++MIT2019-06-17
MIT

C++17 implementation of memory-efficient dynamic tries

595C++, CMakeFeb 24, 20184 years agoMIT
c-plus-plus-17mapstringtrie
MIT

Benchmark for dynamic keyword dictionaries

30C++, CJun 17, 20197 years agoMIT

Similar Papers

Cite this paper

@article{kanda2019dynamic,
  title  = {Dynamic Path-Decomposed Tries},
  author = {Shunsuke Kanda and Dominik Köppl and Yasuo Tabei and Kazuhiro Morita and Masao Fuketa},
  year   = {2019},
  eprint = {1906.06015},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1906.06015}
}

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/1906.06015.svg)](https://codeofpaper.com/paper/1906.06015)

Discussion