Repository navigation
v0.5.0 - Fast Presets, Per-Window Classification & Compacted Decoders
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-safelz0_config. - SIMD & DP Acceleration: AVX2/SSE2/NEON/RVV
matchlenkernels, hash-chain skip lists, compactK=2states, 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, filteredlz0_ultra_inject, headroom tie-breaking, and local Pareto filtering (-18.9%vsLZ4HC -9on 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 to1,056–1,296 Band FAST ASM to1,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