Atelier des rouesLab FR
← All experiments

Amortize a histogram

1/4 Educational or exploratory value AI-assisted literature assessment · one reading

The seven-block threshold follows directly from fixed-weight ranking: C(32,16) needs 30 bits, and adding one six-bit weight header gives 216 bits for seven ranks versus 224 raw bits. Cover gives the relevant fixed-weight and Markov enumerative coding framework; Schalkwijk had already developed fixed-weight ranking. I find this a clear teaching example, but its gain assumes a common weight and omits signaling for segmentation or codec choice.

Thomas M. Cover, Enumerative Source Encoding · J. Pieter M. Schalkwijk, An Algorithm for Source Coding

How I rate results

Transmit changing block weights

How many blocks pay for their shared weight and save a byte?

Bits per rank
30
Bytes saved with header
1
Stream length in bytes
Raw32
Known weight30
Sent weight31
Read the first word and hex stream

00000000000000100111111111111111

40000001100007c000003def000173780007bcd00026af0000b9ab00036268