Optimal Arithmetic Encoding | Hacker News Reader