Zstandard is a fast compression algorithm, providing high compression ratios. It also offers a special mode for small data, called dictionary compression. The reference library offers a very wide range of speed / compression trade-off, and is backed by an extremely fast decoder (see benchmarks below). Zstandard library is provided as open source software using a BSD license. Its format is stable and published as IETF RFC 8478. The negative compression levels, specified with --fast=#, offer faster compression and decompression speed in exchange for some loss in compression ratio compared to level 1, as seen in the table above. Zstd can trade compression speed for stronger compression ratios. It is configurable by small increment. Decompression speed is preserved and remain roughly the same at all settings, a property shared by most LZ compression algorithms, such as zlib or lzma.

Features

  • Zstd offers a training mode, which can be used to tune the algorithm for a selected type of data
  • Training Zstandard is achieved by provide it with a few samples
  • The result of this training is stored in a file called "dictionary", which must be loaded before compression and decompression
  • Using this dictionary, the compression ratio achievable on small data improves dramatically
  • Zstandard API is designed with learning curve in mind
  • The reference library offers a very wide range of speed / compression trade-off, and is backed by an extremely fast decoder

Project Samples

Project Activity

See All Activity >

License

BSD License

Follow Zstandard

Zstandard Web Site

You Might Also Like
Gen AI apps are built with MongoDB Atlas Icon
Gen AI apps are built with MongoDB Atlas

The database for AI-powered applications.

MongoDB Atlas is the developer-friendly database used to build, scale, and run gen AI and LLM-powered apps—without needing a separate vector database. Atlas offers built-in vector search, global availability across 115+ regions, and flexible document modeling. Start building AI apps faster, all in one place.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Zstandard!

Additional Project Details

Operating Systems

Linux, Windows

Programming Language

C

Related Categories

C Algorithms, C File Compression Software

Registered

2021-04-12