Never was trying to compare to NNs or PPM (or even simple LZ), since all this algorithm does is look at the frequency counts.
Agree it's not very practical and very expensive calculations, just fun to work on.
16 karma · joined June 24, 2024
Never was trying to compare to NNs or PPM (or even simple LZ), since all this algorithm does is look at the frequency counts.
Agree it's not very practical and very expensive calculations, just fun to work on.
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.
If not could you link one that does? If I implement my own I expect someone to say I did it wrong.
For input3 they used 20 additional bytes while I used 12. Though I know they said their implementation isn't perfect.
However I can also just store 1 or 0 to indicate what's stored in the first position, using only a single bit, and the next value is inferred.