Atelier des rouesLab FR
← All experiments

Choosing boundaries in a code

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

I view the cut search as a finite shortest-path optimization over segment endpoints, using Cover’s enumerative rank as one edge cost and raw blocks as another. The reported 129-versus-140-byte case is a useful counterexample to fixed-weight runs. Ziv and Lempel parse repeated substrings instead; these 64 small profiles, without code or a general cost proof, remain a bounded test artifact.

Thomas M. Cover, Enumerative Source Encoding · Jacob Ziv and Abraham Lempel, A Universal Algorithm for Sequential Data Compression

How I rate results

I encode 32 words of 32 bits. What does it cost to switch between raw segments and constant-weight ranks?

Bits before padding
1028
Transmitted bytes
Segmentation129
Fixed runs140
Raw128

Segments [start, exclusive end, mode] · 0 raw, 1 rank · [[0, 1, 1], [1, 32, 0]]