|
|
|
|
|
by peter-ebert
719 days ago
|
|
Thanks I'll work on that. One thing though
> The linked example can encode _any sequence_, not just ones that have an equal number of ones and zeros. The compression I made can also encode any sequence of bytes, see the testinput folder (caveats in the FAQ are because of the implementation specifics not the algorithm), it just also has to store the freq table which I'm working on compressing too. It has no requirement for equal number of 1s and 0s, that was just an example in the description that I guess did more bad than good. |
|
Not to say a 0-th order entropy coder could not be useful for certain applications if it was e.g. faster than, say, a range coder while maintaining similar ratios. But I doubt that is possible with this method.