logoalt Hacker News

inigyoutoday at 12:34 AM0 repliesview on HN

Huffman decoding you mean. All the fast decoders build tables processing N (8, 16, ...) bits at a time. If the next byte is 253 in state 6 that means output 15,28,28 and go to state 42...

There are probably even faster ways I don't know of.