Apex › Data & encoding

LZ77 sliding-window compression

The dictionary half of gzip and PNG. Step through the encoder as it finds repeats in a sliding window and replaces them with compact (distance, length, next) tokens — then watch an independent decoder rebuild the original exactly.

More in Data & encoding