Overview of Zstandard (zstd)
masterZstandard, or zstd, is a fast lossless compression algorithm designed for real-time scenarios. It aims to provide zlib-level compression ratios with significantly better performance. It is backed by the fast entropy stage provided by the Huff0 and FSE library.
Key characteristics:
- Stable Format: Documented in [RFC8878].
- Versatile CLI: The command line utility can produce and decode
.zst,.gz,.xz, and.lz4files. - Performance Trade-offs: Users can configure the speed vs. compression ratio trade-off. Negative compression levels (e.g.,
--fast=#) offer higher speeds at the cost of ratio, while higher positive levels offer better ratios at the cost of speed. Decompression speed remains relatively constant across settings.