English

Trie-Compressed Intersectable Sets

Data Structures and Algorithms 2022-12-05 v1

Abstract

We introduce space- and time-efficient algorithms and data structures for the offline set intersection problem. We show that a sorted integer set S[0..u)S \subseteq [0{..}u) of nn elements can be represented using compressed space while supporting kk-way intersections in adaptive O(kδlg ⁣(u/δ))O(k\delta\lg{\!(u/\delta)}) time, δ\delta being the alternation measure introduced by Barbay and Kenyon. Our experimental results suggest that our approaches are competitive in practice, outperforming the most efficient alternatives (Partitioned Elias-Fano indexes, Roaring Bitmaps, and Recursive Universe Partitioning (RUP)) in several scenarios, offering in general relevant space-time trade-offs.

Keywords

Cite

@article{arxiv.2212.00946,
  title  = {Trie-Compressed Intersectable Sets},
  author = {Diego Arroyuelo and Juan Pablo Castillo},
  journal= {arXiv preprint arXiv:2212.00946},
  year   = {2022}
}