[KongchangAI]
Concept

LZ77

A dictionary-based compression algorithm built on a sliding window. It finds repeated strings and replaces them with distance-length pointer pairs, and it is a core component of compression algorithms such as DEFLATE.

Timeline (last 90 days)

Oct 22

The DEFLATE algorithm combines two strategies: the LZ77 algorithm and Huffman coding.

Unverified50%
Oct 20

The foundation of almost all common compression formats is built on the algorithms proposed by Lempel and Ziv (LZ77, LZ78), which is also why a large number of compression schemes start with "LZ."

Unverified50%
Oct 20

LZ77 uses a sliding window to find repeated byte strings and represents repetitions as (distance, length) pairs; LZ78 builds a dictionary and encodes repeated strings as indices. Both achieve lossless compression.

Unverified50%
Sep 22

The DEFLATE algorithm used by gzip is based on LZ77 sliding window and Huffman coding, with a maximum sliding window of 32KB for standard gzip.

Unverified50%
Sep 22

In DEFLATE, the LZ77 stage replaces repeated bytes with offset+length pointers, and the Huffman coding stage builds variable-length prefix codes for symbols so that high-frequency symbols use shorter encodings.

Unverified50%

All Facts (6)

Source Articles