Packed Compact Tries: A Fast and Efficient Data Structure for Online String Processing
Takuya Takagi, Shunsuke Inenaga, Kunihiko Sadakane, Hiroki Arimura

TL;DR
This paper introduces packed compact tries, a new data structure that enables faster pattern matching and updates in string processing, with applications to sparse suffix trees and online LZD factorization, outperforming traditional tries.
Contribution
The paper presents the packed c-trie, a novel data structure that improves space efficiency and query/update speed for online string processing tasks.
Findings
Packed c-tries are faster than standard Patricia trees on real data.
Supports online construction of sparse suffix trees efficiently.
Enables sub-linear time algorithms for string factorization with minimal space.
Abstract
In this paper, we present a new data structure called the packed compact trie (packed c-trie) which stores a set of strings of total length in bits of space and supports fast pattern matching queries and updates, where is the size of an alphabet. Assume that letters are packed in a single machine word on the standard word RAM model, and let denote the query and update times of the dynamic predecessor/successor data structure of our choice which stores integers from universe in bits of space. Then, given a string of length , our packed c-tries support pattern matching queries and insert/delete operations in worst-case time and in expected time. Our experiments show that our packed c-tries are faster than the standard…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
