Y
Hacker News
new
|
ask
|
show
|
jobs
by
web007
1895 days ago
This is how LZW and Huffman compression work. LZW finds repeated symbol groups and encodes them as new symbols, and Huffman compression codes frequent symbols with fewer bits and infrequent symbols with more bits.