zarr-developers / numcodecs

A Python package providing buffer compression and transformation codecs for use in data storage and communication applications.
http://numcodecs.readthedocs.io
MIT License
125 stars 87 forks source link

Fast Huffman encode/decode #533

Open TimSC opened 4 months ago

TimSC commented 4 months ago

I suggest that Huffman encoding and decoding is added. I know it is an old fashioned algorithm but it is still in use. I'm trying to decode quake2 cinematic files in real time and a fast decoder would be really useful! https://en.wikipedia.org/wiki/Huffman_coding