Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
compress: unify Huffman logic in flate and bzip2 #20485
The Huffman encoding in both
Currently, the implementation of Huffman encoding in
referenced this issue
May 24, 2017
I re-wrote the flate decoder from the ground up in https://github.com/dsnet/compress/tree/d2570c4d5b0229583afd32c7c4767e51f314c608. It uses the unified Huffman logic idea I wrote about here, but I haven't gotten around to merging it into standard library.
The performance is significantly faster than the stdlib implementation (~1.4x).