Zstandard, or zstd
as short version, is a fast lossless compression algorithm,
targeting real-time compression scenarios at zlib-level and better compression ratios.
It's backed by a very fast entropy stage, provided by Huff0 and FSE library.
The project is provided as an open-source dual BSD and GPLv2 licensed C library,
and a command line utility producing and decoding .zst
, .gz
, .xz
and .lz4
files.
Should your project require another programming language,
a list of known ports and bindings is provided on Zstandard homepage.
Development branch status:
Benchmarks
For reference, several fast compression algorithms were tested and compared
on a server running Arch Linux (Linux version 5.0.5-arch1-1
),
with a Core i9-9900K CPU @ 5.0GHz,
using lzbench, an open-source in-memory benchmark by @inikep
compiled with gcc 8.2.1,
on the Silesia compression corpus.