A locally adaptive data compression scheme

  • Authors:
  • Jon Louis Bentley;Daniel D. Sleator;Robert E. Tarjan;Victor K. Wei

  • Affiliations:
  • AT&T Bell Laboratories, Murray Hill, NJ;AT&T Bell Laboratories, Murray Hill, NJ;Princeton Univ., Princeton, NJ;Bell Communications Research, Murray Hill, NJ

  • Venue:
  • Communications of the ACM
  • Year:
  • 1986

Quantified Score

Hi-index 48.29

Visualization

Abstract

A data compression scheme that exploits locality of reference, such as occurs when words are used frequently over short intervals and then fall into long periods of disuse, is described. The scheme is based on a simple heuristic for self-organizing sequential search and on variable-length encodings of integers. We prove that it never performs much worse than Huffman coding and can perform substantially better; experiments on real files show that its performance is usually quite close to that of Huffman coding. Our scheme has many implementation advantages: it is simple, allows fast encoding and decoding, and requires only one pass over the data to be compressed (static Huffman coding takes two passes).