Abstract
Given a file T, we suggest a data structure based on pruning a Huffman shaped Wavelet tree (WT) according to the underlying skeleton Huffman tree that enables direct access to the i-th element of T. This pruned WT is especially designed to support faster random access and save memory storage, at the price of less effective rank and select operations, as compared to the original Huffman shaped WT. The savings are significant only if the underlying alphabet is large enough. We give empirical evidence that when memory storage is of main concern, our suggested data structure generally outperforms other direct access techniques such as those due to Külekci, DACs and sampling, with a slowdown as compared to DACs and fixed length encoding.
Original language | English |
---|---|
Pages (from-to) | 26-37 |
Number of pages | 12 |
Journal | Journal of Discrete Algorithms |
Volume | 43 |
DOIs | |
State | Published - Mar 2017 |
Bibliographical note
Publisher Copyright:© 2016 Elsevier B.V.
Keywords
- Direct access
- Rank/select data structures
- Skeleton Huffman tree
- Wavelet trees