Paper record

W1975965284

A locally adaptive data compression scheme

Jon Louis Bentley, Daniel D. Sleator, Robert Endre Tarjan, Victor K. Wei

Year
1986
Venue
Communications of the ACM
References
22
Cited by
584

Details and counts from OpenAlex.

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).