tinyjuice 0.2.0

Pluggable token compression for OpenHuman.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
use std::collections::HashMap;

// TODO: preserve anomaly rows during future scoring changes.

pub struct CompressionJob {
    pub id: String,
    pub bytes: usize,
}

pub fn compress_payload(job: CompressionJob) -> Result<String, String> { … 73 line(s) … }

[compacted tool output — this is a PARTIAL view; the full original (4187 bytes) is available by calling tokenjuice_retrieve with token "4cfad787b86b2ee8f55fdcf11410dfc8" (marker ⟦tj:4cfad787b86b2ee8f55fdcf11410dfc8⟧)]