Embed Notice
HTML Code
Corresponding Notice
- Embed this notice@mooncorebunny @iska @Reiddragon @lispi314 i looked at the code for zstd and it looked big. but there is also an ietf spec for the algorithm if i'm not mistaken. it might be very possible to reimplement (facebook wanted it to be a spec)
the reference implementation does a lot of things that you may never need, like some of the parallel / syncable encodings.
in the end its all LZ with a couple bits of tuning. like orz is RoLZ in to Huffman. RoLZ in to rANS (arithmetic encoder) is probably good too, since ANS approximates huffman.