Overview
Elias delta coding improves gamma coding for larger integers by compressing the length field itself.
Encodes positive integers by gamma-coding the binary length before the payload.
Compact metadata for implementation and discovery.
Elias delta coding improves gamma coding for larger integers by compressing the length field itself.
Quick facts
Runtime and memory behavior at a glance.
Best
O(log n)
Average
O(log n)
Worst
O(log n)
Space
O(1)
N = floor(log2(n)) + 1Encodes the bit length N with Elias gamma coding before the remaining bits of n.
Show symbols being transformed into codes and reconstructed by the decoder state.
Elias Delta Coding should be used with the assumptions and tradeoffs of universal Integer Coding in mind.
What each reference supports for this entry.
Reference for universal codeword sets including gamma and delta integer codes.
Open sourceCompression textbook support for Elias Delta Coding's coding model, decoder behavior, and implementation tradeoffs.
Open sourceGood next jumps from the relationship graph, ranked for useful discovery.
Delta coding improves gamma coding for larger integers.
Elias delta is a variable-length integer code.