Rank/Select Queries over Mutable Bitmaps

Giulio Ermanno Pibiri, Shunsuke Kanda
9/27/2020
cs.DS

Official code: jermp/mutable_rank_select (36 stars, C++, MIT, last commit 2023-01-08).

Abstract

The problem of answering rank/select queries over a bitmap is of utmost importance for many succinct data structures. When the bitmap does not change, many solutions exist in the theoretical and practical side.

Show full abstract

In this work we consider the case where one is allowed to modify the bitmap via a flip(i) operation that toggles its i-th bit. By adapting and properly extending some results concerning prefix-sum data structures, we present a practical solution to the problem, tailored for modern CPU instruction sets. Compared to the state-of-the-art, our solution improves runtime with no space degradation. Moreover, it does not incur in a significant runtime penalty when compared to the fastest immutable indexes, while providing even lower space overhead.

View on arXivView PDF

Code Implementations(1)

MIT

A SIMD-based C++ library providing rank/select queries over mutable bitmaps.

365C++, CMakeJun 29, 20203 years agoMIT
bitmapmutable-bitmapsrank-selectsegment-treesimd+1 more

Similar Papers

Cite this paper

@article{pibiri2020rankselect,
  title  = {Rank/Select Queries over Mutable Bitmaps},
  author = {Giulio Ermanno Pibiri and Shunsuke Kanda},
  year   = {2020},
  eprint = {2009.12809},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2009.12809}
}

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

Discussion