English

Grammar-Based Compression in a Streaming Model

Data Structures and Algorithms 2010-02-06 v4

Abstract

We show that, given a string ss of length nn, with constant memory and logarithmic passes over a constant number of streams we can build a context-free grammar that generates ss and only ss and whose size is within an \Ohmin(glogg,nlogg)\Oh{\min (g \log g, \sqrt{n \log g})}-factor of the minimum gg. This stands in contrast to our previous result that, with polylogarithmic memory and polylogarithmic passes over a single stream, we cannot build such a grammar whose size is within any polynomial of gg.

Cite

@article{arxiv.0912.0850,
  title  = {Grammar-Based Compression in a Streaming Model},
  author = {Travis Gagie and Pawel Gawrychowski},
  journal= {arXiv preprint arXiv:0912.0850},
  year   = {2010}
}

Comments

Section on recent work added, sketching how to improve bounds and support random access

R2 v1 2026-06-21T14:19:38.780Z