NeoMutt  2020-09-25
Teaching an old dog new tricks
DOXYGEN
COMPRESS: Data compression

These compression methods are used by the hcache.

Interface

Each Compression backend implements the ComprOps API.

Source

Shared compression code

Name File Home Page
LZ4 compression compress/lz4.c https://github.com/lz4/lz4
ZLIB compression compress/zlib.c https://www.zlib.net/
Zstandard (zstd) compression compress/zstd.c https://www.zstd.net/

Usage with Compression Level set to X:

  • open(level X) -> N times compress() -> close()
  • open(level X) -> N times decompress() -> close()