About 6 months ago, Lyuma2D told me about Arithmetic coding, saying it was "Better than Huffman" which I laughed at, because, Huffman is provably optimal (but only for symbols). Boy was I wrong. I extracted VPX (VP8/9) coding into a single-file library https://github.com/cnlohr/vpxcoding
=> More informations about this toot | More toots from cnlohr@chaos.social
This library is still very work-in-progress, but it's what I'm using in another project, and indeed it is able to eek out between 1-5% improved overall compression compared to huffman coding, in almost all the cases I've been able to find. More importantly in many cases sometimes it's easier to use!
=> More informations about this toot | More toots from cnlohr@chaos.social
text/gemini
This content has been proxied by September (3851b).