Show HN: simple_ans – Asymmetric Numeral Systems Compression in Python/C++(github.com)
github.com
Show HN: simple_ans – Asymmetric Numeral Systems Compression in Python/C++
https://github.com/flatironinstitute/simple_ans
1 comments
Oh, you may also be interested in this fun
ANS Visualizer
https://visposts.github.io/ans-visualizer/
ANS Visualizer
https://visposts.github.io/ans-visualizer/
So I made simple_ans, a straightforward Python package that uses a small, yet efficient, kernel of C++ code (few hundred lines of code).
If you want it even simpler, there’s also a pure Python implementation in the repo (much slower though).
I hope you find it interesting and/or useful!