scispace - formally typeset
Open AccessBook ChapterDOI

Fast, small, simple rank/select on bitmaps

Reads0
Chats0
TLDR
This paper presents two structures, one using the bitmap in plain form and another using a compressed form, that are simple to implement and combine much lower space overheads than previous work with excellent time performance for rank and select queries.
Abstract
Rank and select queries on bitmaps are fundamental for the construction of a variety of compact data structures. Both can, in theory, be answered in constant time by spending o(n) extra bits on top of the original bitmap, of length n, or of a compressed version of it. However, while the solution for rank is indeed simple and practical, a similar result for select has been elusive, and practical compact data structure implementations avoid its use whenever possible. In addition, the overhead of the o(n) extra bits is in many cases very significant. In this paper we bridge the gap between theory and practice by presenting two structures, one using the bitmap in plain form and another using a compressed form, that are simple to implement and combine much lower space overheads than previous work with excellent time performance for rank and select queries. In particular, our structure for plain bitmaps is far smaller and faster for select than any previous structure, while competitive for rank with the best previous structures of similar size.

read more

Content maybe subject to copyright    Report

Citations
More filters
Book ChapterDOI

From Theory to Practice: Plug and Play with Succinct Data Structures

TL;DR: This paper presents a framework for experimentation with succinct data structures, providing a large set of configurable components, together with tests, benchmarks, and tools to analyze resource requirements.
Posted Content

From Theory to Practice: Plug and Play with Succinct Data Structures

TL;DR: In this article, the authors present a framework for experimentation with succinct data structures, providing a large set of configurable components, together with tests, benchmarks, and tools to analyze resource requirements.
Journal ArticleDOI

Wavelet trees for all

TL;DR: This survey gives an overview of wavelet trees and the surprising number of applications in which they are useful: basic and weighted point grids, sets of rectangles, strings, permutations, binary relations, graphs, inverted indexes, document retrieval indexes, full-text indexes, XML indexes, and general numeric sequences.
Proceedings ArticleDOI

SuRF: Practical Range Query Filtering with Fast Succinct Tries

TL;DR: It is shown that replacing RocksDB's Bloom filters with SuRFs speeds up open-seek and closed-seek queries by up to 1.5× and 5× with a modest cost on the worst-case point query throughput due to slightly higher false positive rate.
Book ChapterDOI

Wavelet trees for all

TL;DR: This survey gives an overview of wavelet trees and the surprising number of applications in which they are useful: basic and weighted point grids, sets of rectangles, strings, permutations, binary relations, graphs, inverted indexes, document retrieval indexes, full-text indexes, XML indexes, and general numeric sequences.
References
More filters
Proceedings ArticleDOI

High-order entropy-compressed text indexes

TL;DR: A novel implementation of compressed suffix arrays exhibiting new tradeoffs between search time and space occupancy for a given text (or sequence) of n symbols over an alphabet σ, where each symbol is encoded by lg|σ| bits.
Proceedings ArticleDOI

Space-efficient static trees and graphs

TL;DR: Data structures that represent static unlabeled trees and planar graphs are developed, and there is no other structure that encodes n-node trees with fewer bits per node, as N grows without bound.
Journal ArticleDOI

Indexing compressed text

TL;DR: Two compressed data structures for the full-text indexing problem that support efficient substring searches using roughly the space required for storing the text in compressed form are designed and exploits the interplay between two compressors: the Burrows--Wheeler Transform and the LZ78 algorithm.
Proceedings ArticleDOI

Succinct indexable dictionaries with applications to encoding k-ary trees and multisets

TL;DR: A structure that supports both operations in O(1) time on the RAM model and an information-theoretically optimal representation for cardinal cardinal trees and multisets where (appropriate generalisations of) the select and rank operations can be supported in 1) time.
Related Papers (5)