English

Improved Parallel Construction of Wavelet Trees and Rank/Select Structures

Distributed, Parallel, and Cluster Computing 2020-01-17 v3

Abstract

Existing parallel algorithms for wavelet tree construction have a work complexity of O(nlogσ)O(n\log\sigma). This paper presents parallel algorithms for the problem with improved work complexity. Our first algorithm is based on parallel integer sorting and has either O(nloglognlogσ/lognloglogn)O(n\log\log n\lceil\log\sigma/\sqrt{\log n\log\log n}\rceil) work and polylogarithmic depth, or O(nlogσ/logn)O(n\lceil\log\sigma/\sqrt{\log n}\rceil) work and sub-linear depth. We also describe another algorithm that has O(nlogσ/logn)O(n\lceil\log\sigma/\sqrt{\log n} \rceil) work and O(σ+logn)O(\sigma+\log n) depth. We then show how to use similar ideas to construct variants of wavelet trees (arbitrary-shaped binary trees and multiary trees) as well as wavelet matrices in parallel with lower work complexity than prior algorithms. Finally, we show that the rank and select structures on binary sequences and multiary sequences, which are stored on wavelet tree nodes, can be constructed in parallel with improved work bounds, matching those of the best existing sequential algorithms for constructing rank and select structures.

Keywords

Cite

@article{arxiv.1610.03524,
  title  = {Improved Parallel Construction of Wavelet Trees and Rank/Select Structures},
  author = {Julian Shun},
  journal= {arXiv preprint arXiv:1610.03524},
  year   = {2020}
}

Comments

This paper appears in Information & Computation, 2020. A preliminary version appears in the Proceedings of the IEEE Data Compression Conference, 2017

R2 v1 2026-06-22T16:18:12.046Z