English

On Two LZ78-style Grammars: Compression Bounds and Compressed-Space Computation

Data Structures and Algorithms 2017-07-26 v2

Abstract

We investigate two closely related LZ78-based compression schemes: LZMW (an old scheme by Miller and Wegman) and LZD (a recent variant by Goto et al.). Both LZD and LZMW naturally produce a grammar for a string of length nn; we show that the size of this grammar can be larger than the size of the smallest grammar by a factor Ω(n13)\Omega(n^{\frac{1}3}) but is always within a factor O((nlogn)23)O((\frac{n}{\log n})^{\frac{2}{3}}). In addition, we show that the standard algorithms using Θ(z)\Theta(z) working space to construct the LZD and LZMW parsings, where zz is the size of the parsing, work in Ω(n54)\Omega(n^{\frac{5}4}) time in the worst case. We then describe a new Las Vegas LZD/LZMW parsing algorithm that uses O(zlogn)O (z \log n) space and O(n+zlog2n)O(n + z \log^2 n) time w.h.p..

Keywords

Cite

@article{arxiv.1705.09538,
  title  = {On Two LZ78-style Grammars: Compression Bounds and Compressed-Space Computation},
  author = {Golnaz Badkobeh and Travis Gagie and Shunsuke Inenaga and Tomasz Kociumaka and Dmitry Kosolobov and Simon J. Puglisi},
  journal= {arXiv preprint arXiv:1705.09538},
  year   = {2017}
}

Comments

12 pages, accepted to SPIRE 2017

R2 v1 2026-06-22T19:59:59.672Z