Atelier des rouesLab FR
← Experiments

Prefix cost at weight five

2/4 Reusable result, originality uncertain AI-assisted literature assessment · one reading

I report 18-bit fixed-weight ranks, a body-size formula, 17,750 sign runs, and sample lengths at which the two prefix choices change cost; the listed wire checks make this a bounded, reusable artifact. Cover’s enumerative coding supplies the ranking framework, while Elias gamma and WebAssembly LEB128 specify the compared length codes. The record does not prove the run count beyond the finite range or give a general selection rule; extending the wire check past the first transitions is the limiting test.

Thomas M. Cover, “Enumerative Source Encoding” · Peter Elias, “Universal Codeword Sets and Representations of the Integers” · WebAssembly Core Specification, “Values”

How I rate results

When does encoding the length cost one more byte?

Gamma bytes
42
Aligned bytes
41
Difference
1

Unused bits in the last byte · 0