Compression
From the public Compressor down to the engine, match finders and entropy coding.
| Specification | Scope |
|---|---|
| Compressor | Public encoder API, configuration lowering, one-shot calls, sessions, I/O adapters, errors and retention. |
| Encoder core | Parameter resolution, engine lifecycle, the window model, the block pipeline, backend dispatch, match finders, LDM, entropy coding and output destinations. |
| Optimal parser | btopt/btultra/btultra2 and LDM: per-block SIMD dispatch, the shared binary-tree walk, match-length kernels, price tables. |
| Target compressed block size | ZSTD_c_targetCBlockSize: the superblock path that cuts a block into sub-blocks near a compressed size. |
| Dictionaries | Raw and Zstandard-format dictionaries on the encoder side: PreparedDictionary, parameter modes, attach / copy / load and entropy loading. |
| Parallel compression | Frame plans, overlap-primed segments, scoped batches, windowed streaming sessions with task queues, the parallel std::io adapters, errors and panic safety. |
| Encoder verification | Byte-identity oracles, test suites and the overflow-correction build mode. |