Lempel-Ziv-Welch
Quick Summary
The Lempel-Ziv-Welch (LZW) algorithm is a lossless data compression technique developed by Abraham Lempel and Jacob Ziv in the 1970s. It works by building a dictionary of sequences encountered in the data. Instead of transmitting full sequences, the algorithm sends a code word for a known sequence and then additional bits to indicate the next element. This creates new, shorter code words for common sequences, reducing redundancy and file size. For example, LZW can compress English text by about 55 percent. This adaptive approach allows it to efficiently compress data without prior knowledge of its probabilities, making it superior to static methods like Huffman coding in many cases. Variations of the Lempel-Ziv algorithm are used in popular compression programs like Zip and gzip.12
Ask Britannica AI about this topic
Britannica doesn't have a full article on this topic, so we've curated a list of our relevant coverage.
