Skip to content

v0.5.0 - Fast Presets, Per-Window Classification & Compacted Decoders

Choose a tag to compare

@seb3773 seb3773 released this 25 Nov 07:06
· 21 commits to main since this release

Lightweight, asymmetric LZ compressor designed around an extremely simple, memory-free (0-alloc) decoder.

About LZ0

LZ0 is an asymmetric lossless compression format that shifts complexity from the decompressor to the compressor. It combines high compression density with ultra-fast decompression requiring 0 bytes of dynamic memory (malloc).


What's New in v0.5.0

1. Encoder Speed & Presets (-1..-9)

  • Calibrated Presets: Fast Greedy -1 (~12–31 MB/s, low heap), lightweight -2/-3, selective -6, and thread-safe lz0_config.
  • SIMD & DP Acceleration: AVX2/SSE2/NEON/RVV matchlen kernels, hash-chain skip lists, compact K=2 states, and faster DP pruning.

2. Per-Window Classification & Ratio

  • 16 KiB Window Analysis: Independent entropy/stride classification with early incompressible bailout (star.png: 100.00% in ~1.2 ms).
  • Multimedia & Ultra (-9): 2D/audio/skewed stride probing, filtered lz0_ultra_inject, headroom tie-breaking, and local Pareto filtering (-18.9% vs LZ4HC -9 on 19 files).

3. Faster & Smaller Assembly Decoders

  • Throughput: Short-offset broadcasts and windowed Elias decoding (406–1,350 MB/s on native x86-64 binaries/text).
  • Code Compaction (-752 B): Compact ASM down to 1,056–1,296 B and FAST ASM to 1,408–2,866 B (x86-64/ARM64/RV64) with no speed loss.

Release Packages

  • Linux x86_64: lz0-v0.5.0-linux-x86_64.tar.gz
  • Linux ARM64: lz0-v0.5.0-linux-arm64.tar.gz
  • Linux RISC-V 64: lz0-v0.5.0-linux-riscv64.tar.gz
  • Windows x86_64: lz0-v0.5.0-windows-x86_64.zip