Repository navigation
v0.6.0 - Win64/macOS Portability, Fast RV64 & Header-Only Decoder
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.6.0
1. Portability & Multi-Arch CI (Win64, macOS, musl)
- Win64 & macOS Mach-O ASM/SIMD: Full ABI/directive support for x86-64 and ARM64 decoders (
lz0dec_x86_64,lz0dec_fast_*,lz0dec_arm64) and AVX2/SSE2/NEON encoder kernels on Windows (_WIN32) and Apple Silicon/Intel macOS (__APPLE__). - GitHub Actions CI & Packaging: Automated Linux (
x86_64+ ASan/UBSan), QEMU (arm64+riscv64scalar/RVV), native Windows (MSYS2 MinGW-w64), macOSarm64, and compactmuslstatic release tarballs.
2. Fast RISC-V 64 Decoder & Single-Header lz0dec_min.h
- True RV64 FAST Engine: 64-bit bit-window, table-driven Elias decoding, and optional
Zbb(rev8/clz/ctz) inlz0dec_fast_riscv64.S(172–362 MB/s under QEMU, nearly2xfaster on text/code). - Header-Only C Decoder: Standalone
lz0/lz0dec_min.h(#define LZ0DEC_IMPLEMENTATION, optionalLZ0DEC_STATIC,1,086 Bat-Os).
3. Ultra-Light -1, 64-bit Sizes & CLI fixes
- Fast Low-RAM
-1: New greedy path (1.20–3.95 B/bytepeak heap,3xfaster on corpus) with bit-exact ratio parity on-6and higher levels. - 64-bit Size API & Unified CLIs: Enforced
4 GiB - 1compress limit,size_t/int64_t*_exdecode APIs (> 2 GiB support), unifiedLZ0_VERSION, shared-h/-v& stdin/stdout (-), and-1,046lines of dead parsers removed.
Release Packages
- Linux x86_64:
lz0-v0.6.0-linux-x86_64.tar.gz - Linux ARM64:
lz0-v0.6.0-linux-arm64.tar.gz(compact staticmuslbuild) - Linux RISC-V 64:
lz0-v0.6.0-linux-riscv64.tar.gz(staticmuslbuild) - Windows x86_64:
lz0-v0.6.0-windows-x86_64.zip - macOS ARM64:
lz0-v0.6.0-macos-arm64.tar.gz