Lempel–Ziv Compression

Replaces repeated substrings with references to earlier occurrences.

Method

LZ77 represents repetition through references to preceding text; DEFLATE emits literals or length-distance references with coding. LZ78 is a distinct dictionary-based variant, so offset/length/next-character triples are not universal Lempel–Ziv output.

Applications

GIF, PNG (DEFLATE), ZIP, gzip.

Advantages

Offers a structured approach within the stated model and assumptions.

Limitations

LZ78 is a distinct dictionary-based variant, so offset/length/next-character triples are not universal Lempel–Ziv output.

Editorial clarification

Scope and assumptions corrected against the cited reference.

Sources

Educational reference only, not professional advice.

All algorithms