Dictionary compression - short codeword to represent a longer piece of data.
File is analysed by the algorithm to look for repeated long chains of bytes. Each byte sequence is placed in a data table within the new compressed file and a short codeword allocated to it. Size reduction = 1 - compressed size/uncompressed
- Variable length encoding - Frequent symbols are given short codewords and the rarer ones use longer codewords. Huffman algorithm is used in the very
popular ZIP format makes use of variable length encoding.