Compression
From the public Compressor down to the three encoder cores and the bit writer.
| Specification | Scope |
|---|---|
| Compressor | Public API, sessions, size-hint inference, I/O, dispatch and errors. |
| Encoder workspace | Retained output backing, reset, parked match-finder tables, accounting and backpressure. |
| Bit output | Destinations, command-prefix lookup, literal tables, direct Vec appends, bit operations and overflow. |
| Serial output identity | Shared scheduling, empty finalization and C compatibility. |
| Fast encoder | Qualities 0–1: fragments, direct encoding, entropy coding, prefix-code builders and SIMD scans. |
| Greedy encoder | Qualities 2–9: hash tables and their growth, SIMD range hashing, match scoring, distance-cache prefilter and meta-blocks. |
| High-quality encoder | Qualities 10–11: tree search, SIMD distance-cache and dictionary filters, command pricing and clustering. |
| Owned sessions | Lifetime-free raw and framed sessions, reinit and input-free flush/finish. |
| Parallel compression | Planning, encoder reconfiguration, caller-run tasks, staging and assembly. |
| Parallel streaming sessions | Chunked input into queued segment tasks, ordered delivery, flush, queue closure and the blocking adapters. |