Hacker GitHub

← All repos

rygorous/ryg_rans

View on GitHub ↗ ★ 373 C++

Simple rANS encoder/decoder (arithmetic coding-ish entropy coder).

3 mentions on Hacker News by 3 people: 0 stories, 3 comments · first 2016-09-01 · latest 2026-07-21

Mentions per year 3 mentions · busiest year 2016 (1)
20082026
  1. …bits into the accumulator. [1] https://fgiesen.wordpress.com/2014/02/18/rans-with-static-pr... [2] https://github.com/rygorous/ryg_rans
    comment by ralferoo · 2026-07-21 · in How to pack ternary numbers in 8-bit bytes
  2. …as good as is, and also contains a good alias table implementation if you want multi-symbol inputs: https://github.com/rygorous/ryg_rans/blob/master/rans_byte.h
    comment by lifthrasiir · 2024-03-16 · in Compressing chess moves for fun and profit
  3. …[1] http://encode.ru/threads/1821-Asymetric-Numeral-System?p=360... [2] https://github.com/rygorous/ryg_rans