misa77 level‑3 reaches 5.9 GB/s decode speed on the Silesia test, outpacing LZ4’s 2.5 GB/s.
*A new LZ‑based compressor promises dramatically higher decode throughput while keeping ratios competitive. Benchmarks on standard corpora show up to three‑fold speed gains over zstd and LZ4.*
A new open‑source compression library, misa77, has entered the arena with a bold claim: decode speeds up to three times faster than the industry‑standard zstd, without sacrificing compression ratios. The project, hosted on GitHub, targets the write‑once, read‑many use case, prioritising single‑threaded, in‑memory throughput above all else. Benchmarks conducted on an Intel Core i7‑14650HX processor show the library delivering multi‑gigabyte per second decode rates while keeping memory usage flat during compression. The trade‑off is clear—compression slows dramatically, but the safety guarantees against corrupt input remain intact. In a landscape where data pipelines are increasingly bottlenecked by read latency, misa77’s performance profile could reshape how developers choose compression tools.
misa77 is an LZ‑based compressor built for the write‑once, read‑many niche. Its design sacrifices compression speed to achieve extreme single‑threaded, in‑memory decode throughput. The library guarantees constant memory use during compression, regardless of input size, and safe termination on corrupt or malicious streams. By targeting decode speed, misa77 aims to reduce latency in data‑intensive pipelines where read operations dominate. The trade‑off is evident: compression rates drop to single‑digit megabytes per second at higher levels, but decode rates climb to several gigabytes per second.
Benchmarks run on an Intel Core i7‑14650HX (2.2 GHz, turbo disabled) using lzbench show misa77 decoding 2–3× faster than its peers. On the Silesia corpus, level‑3 reaches 5.9 GB/s decode versus LZ4’s 2.55 GB/s and zstd‑1’s 0.9 GB/s. Levels 11‑13, which target zstd‑class ratios, still decode 2.5–3× faster than zstd levels 11‑22. Compression speeds lag behind; level‑6 records only 1.79 MB/s encode speed, far slower than LZ4’s 383 MB/s. Despite slower compression, ratio figures remain comparable, with misa77‑6 at 32.34 % versus LZ4’s 47.32 % on the same data set.
The Silesia benchmark (12 files, 212 MB) confirms that levels 3‑6 dominate LZ4 on decode speed, while level‑6 delivers the smallest ratio (32.34 %) and roughly double the decode rate of LZ4. On a 263 MB game asset corpus spanning textures, geometry, and engine packages, misa77‑1 decodes at 4.26 GB/s with a 57.24 % ratio, and level‑6 pushes decode to 5.42 GB/s with a 44.20 % ratio. Levels 11‑13 achieve ratios similar to zstd‑11‑22 but retain the 2.5–3× speed advantage. Block size variations (256 KiB vs 64 KiB) shift absolute ratios modestly but do not alter the relative ordering of codecs.
For systems where read latency is critical—real‑time analytics, game streaming, or high‑frequency trading—misa77 offers a compelling alternative to traditional LZ4 or zstd deployments. The library’s constant‑memory compression eases integration into constrained environments, while its safe‑fail decompression reduces crash risk from malformed inputs. However, developers must accept slower compression phases, making misa77 unsuitable for workloads that frequently recompress data. Adoption will likely focus on static assets, archival distribution, and any scenario where data is written once and read many times.
Benchmarks show misa77 levels 11‑13 decode about 2.5 to 3 times faster than zstd levels 11‑22 on the same corpora.
misa77 achieves ratios similar to LZ4 and zstd while decoding faster; compression is slower, dropping to single‑digit MB/s at higher levels.
The library guarantees safe termination on corrupt or malicious input, avoiding out‑of‑bounds memory access or undefined behavior.
If the benchmark numbers hold across real‑world workloads, misa77 could force a rethink of compression strategy in latency‑sensitive domains. Its extreme decode speed and safe handling of malformed streams make it a strong candidate for static asset distribution and high‑throughput analytics. Yet the steep compression penalty means it will not replace all existing codecs. The community will watch closely as developers test its limits and integrate it into production pipelines.
Sources: [Hacker News Show HN: misa77 – Up to 3x faster decompression than zstd, with better ratios]