Repository navigation
v0.4.0 - Ultra DP Parser, Binary Tree Finder & LZ4/LZ4HC Benchmarks
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.4.0
1. Ultra Mode DP Parser Optimization
- Structure-of-Arrays (SoA) DP Parser: Vectorized state layout for optimal cache locality and reduced memory bandwidth during parsing.
- Unconstrained Length-2 Matches: Exhaustive micro-match search in Ultra mode (
-9), maximizing compression ratio on code, tables, and structured data. - Thread-Safety & Re-entrancy: Fully eliminated static state for clean multi-threaded integration.
2. Binary Tree Match Finder & Fast DP Pruning
- Binary Tree Finder: Deep match lookups with configurable depth (BT32) on highly repetitive streams.
- Newbest DP State Pruning: Up to 1.8× faster DP compression with zero loss in compression ratio.
- Stride-Aware Filtering: Adaptive match pruning on non-strided binary streams to maintain optimal throughput.
3. Decoder Boundary Hardening & In-Window Safety
- In-Window Boundary Checks: Hardened portable C and native assembly decoders (x86-64, ARM64, RISC-V 64) against wildcopy edge overruns near buffer ends.
- Guard-Page Testing: Rigorously verified with hardware memory protection (
mprotect), 100% clean under ASan, UBSan, and Valgrind.
4. Permanent In-Depth LZ4 & LZ4HC (-9) Benchmarks
- Permanent Test Suite Integration: Added exhaustive benchmarks against LZ4 and LZ4HC (-9) on Intel Core i3-9100 across standard corpora and multi-megabyte blobs.
5. Documentation Harmonization
- Harmonized all documentation, benchmarks, CLI outputs, and source comments into English.
Release Packages
- Linux x86_64:
lz0-v0.4.0-linux-x86_64.tar.gz - Linux ARM64:
lz0-v0.4.0-linux-arm64.tar.gz - Linux RISC-V 64:
lz0-v0.4.0-linux-riscv64.tar.gz - Windows x86_64:
lz0-v0.4.0-windows-x86_64.zip