3 ms·
Sure you can do this, what you get is something that is also able to adapt dynamically after the first 100 bytes or so. My requirement was to have something sma
by antirez 18y ago
Sure you can do this, what you get is something that is also able to adapt dynamically after the first 100 bytes or so. My requirement was to have something smaller, simpler, possibly able to run on low memory systems, and especially, with a much faster decompression compared to zlib.
I'm not exploiting an arithmetic encoding basically, and the dictionary is (intentionally) small. Add to this lib an arithmetic encoding and you get near to a zlib with an optimized dictionary, but at the cost of a lot of speed.