Oriel — AI & technology worth noticing, every day.

ZXC: Lossless compression built for ultra-fast decode

Web page · https://libzxc.org/

First seen by Oriel on .

AI summary

ZXC is a C lossless compression library that shifts work to encoding to deliver multi-gigabyte-per-second decoding with output no larger than LZ4.

  • On Apple M2, ZXC decodes silesia.tar at 39,707 to 113,513 MB/s across levels, with 1.52× to 2.80× the speed of similarly sized codecs.
  • The encoder performs match selection, optimal parsing, statistics tuning, and processor-oriented bitstream layout, while the decoder uses few branches and available SIMD.
  • Features include seekable archives, in-place decoding with about 1% overhead, trained dictionaries, multithreaded streaming, optional rapidhash checksums, and a documented wire format.
  • ZXC is intended for firmware updates, game assets, application startup, packaged artefacts, content delivery, and read-heavy storage where data is compressed once and read repeatedly.
  • The library has no dependencies, uses the BSD 3-Clause License, supports multiple architectures, and provides official bindings for Rust, Python, Node.js and Go.

#lossless compression #c #simd #data delivery

Generated by gpt-5.6-sol. Check the original for details.

Aliases

SourceExternal IDURL
Lobstersmf3tmvhttps://libzxc.org/ Read discussion