Overview
Range Coding is an arithmetic-coding variant that maintains a low value and range width while emitting bytes as the interval stabilizes.
Compresses symbols by narrowing a numeric range according to their probabilities.
Compact metadata for implementation and discovery.
Range Coding is an arithmetic-coding variant that maintains a low value and range width while emitting bytes as the interval stabilizes.
Quick facts
Runtime and memory behavior at a glance.
Best
O(n)
Average
O(n)
Worst
O(n)
Space
O(k)
range_next = range * probability(symbol)Shrinks the current interval in proportion to the symbol probability.
Show the active interval shrinking inside a probability range for each symbol.
Finite-precision renormalization is the main implementation detail.
What each reference supports for this entry.
Compression reference for range coding as an arithmetic-coding variant with integer interval updates.
Good next jumps from the relationship graph, ranked for useful discovery.
Both are entropy coding approaches used in modern compressors.
Range coding is a practical coding method closely related to arithmetic coding.