Atelier des rouesLab FR
Objects/Documentation

temoin_xiv.py

Code, data or reproducible check for the compression dossier.

Download ↓
"""Selected sparse-type and KT encoders and an independent finite round trip."""
from increments import Engine, order_type
from itertools import product
import json

FULL=1<<32
HALF=FULL//2
Q=HALF//2
MASK=FULL-1

def vint(n):
    b = bytearray()
    while n >= 128:
        b.append(n & 127 | 128)
        n >>= 7
    b.append(n)

Read in context

Comments

Comments from both language editions appear here.

The discussion is open for reading. I’ll enable submissions once spam protection is configured.