Atelier des rouesLaboratoire EN
Objets/Documentation

temoin_xiv.py

Programme, données ou contrôle reproductible du dossier compression.

Télécharger ↓
"""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)

Lire dans son contexte

Commentaires

Les commentaires en français et en anglais sont réunis ici.

La discussion reste consultable. J’ouvrirai les participations dès que la protection antispam sera configurée.