Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ActiveState/code
/ recipe-306626.py
File
recipe-306626.py
recipes/Python/306626_arithmetic_coder/recipe-306626.py:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
# A very slow arithmetic coder for Python.
2
#
3
# "Rationals explode quickly in term of space and ... time."
4
# -- comment in Rational.py (probably Tim Peters)
Callers
nothing calls this directly
Calls
5
train
Function · 0.85
encode
Function · 0.70
decode
Function · 0.70
open
Function · 0.50
read
Method · 0.45
Tested by
no test coverage detected