About

Log in?

DTU users get better search results including licensed content and discounts on order fees.

Anyone can log in and get personalized features such as favorites, tags and feeds.

Log in as DTU user Log in as non-DTU user No thanks

DTU Findit

Conference paper

Decompressing lempel-ziv compressed text

From

Department of Applied Mathematics and Computer Science, Technical University of Denmark1

Algorithms and Logic, Department of Applied Mathematics and Computer Science, Technical University of Denmark2

Dalhousie University3

Libera Universita Internazionale degli Studi Sociali Guido Carli4

We consider the problem of decompressing the Lempel-Ziv 77 representation of a string S of length n using a working space as close as possible to the size z of the input. The folklore solution for the problem runs in O(n) time but requires random access to the whole decompressed text. Another folklore solution is to convert LZ77 into a grammar of size O(z log(n/z)) and then stream S in linear time.

In this paper, we show that O(n) time and O(z) working space can be achieved for constant-size alphabets. On general alphabets of size σ, we describe (i) a trade-off achieving O(n log^δ σ) time and O(z log^1-δ σ) space for any 0≤ δ≤ 1, and (ii) a solution achieving O(n) time and O(z log log (n/z)) space.

The latter solution, in particular, dominates both folklore algorithms for the problem. Our solutions can, more generally, extract any specified subsequence of S with little overheads on top of the linear running time and working space. As an immediate corollary, we show that our techniques yield improved results for pattern matching problems on LZ77-compressed text.

Language: English
Publisher: IEEE
Year: 2020
Pages: 143-152
Proceedings: 2020 Data Compression Conference
ISBN: 1728164575 , 1728164583 , 9781728164571 and 9781728164588
ISSN: 23750383 , 10680314 and 23750359
Types: Conference paper
DOI: 10.1109/DCC47342.2020.00022
ORCIDs: Bille, Philip , Berggren Ettienne, Mikko and Li Gortz, Inge

DTU users get better search results including licensed content and discounts on order fees.

Log in as DTU user

Access

Analysis