/ proof-of-concept / benchcompress
Sign in
proof-of-concept / benchcompress
1.2 KBPreviewCodeBlameHistoryRaw

ANS (Asymmetric Numeral Systems) Algorithm#

ANS is a modern entropy coding method that achieves a compression ratio near arithmetic coding with relatively efficient encoding and decoding. It achieves this by maintaining a state that represents the encoded data in a way that can be efficiently updated. The implementation uses the simple_ans Python package.

Variants#

Basic ANS#

Delta Encoding#

Markov Prediction#

Markov with Zero RLE#

↑↓ move↵openescclose