#algorithms Articles


Arithmetic coding in Python

We shrink Dostoevsky’s “Crime and Punishment” to its limit using arithmetic coding. This article showcases my Python implementation of the algorithm.