Authors: | Travis Gagie |

Giovanni Manzini |

Scientific Area: | Text Compression and Indexing |

Title: | Space-Conscious Compression |

Published on: | TR-INF-2007-06-02-UNIPMN |

Publisher: | Computer Science Department, UPO |

Year: | 2007 |

Tipo Pubblicazione: | Technical Report |

URL: | http://www.di.unipmn.it...R-INF-2007-06-02-UNIPMN.pdf |

Abstract: | Compression is most important when space is in short supply, so compression algorithms are often implemented in limited memory. Most analyses ignore memory constraints as an implementation detail, however, creating a gap between theory and practice. In this paper we consider the effect of memory limitations on compression algorithms. In the first part we assume the memory available is fixed and prove nearly tight upper and lower bounds on how much memory is needed to compress a string close to its $k$-th order entropy. In the second part we assume the memory available grows (slowly) as more and more characters are read. In this setting we show that the rate of growth of the available memory determines the speed at which the compression ratio approaches the entropy. In particular, we establish a relationship between the rate of growth of the sliding window in the LZ77 algorithm and its convergence rate. |