16 karma · joined Jun 24, 2024 (2y ago) · 19 submissions
comment 2y ago · link · parent
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.
comment 2y ago · link · parent
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.
comment 2y ago · link · parent
If not could you link one that does? If I implement my own I expect someone to say I did it wrong.
comment 2y ago · link · parent
For input3 they used 20 additional bytes while I used 12. Though I know they said their implementation isn't perfect.
comment 2y ago · link · parent
comment 2y ago · link · parent
comment 2y ago · link · parent
comment 2y ago · link · parent
comment 2y ago · link · parent
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.
comment 2y ago · link · parent
comment 2y ago · link · parent
19.
A (hopefully) new compression algorithm that uses binomials(github.com ↗)
29 points · by peter-ebert · 2y ago · 55 comments