Hacker News·3 min read·medium

Show HN: misa77 – Up to 3x faster decompression than zstd, with better ratios

N
nonadhocproblem
Show HN: misa77 – Up to 3x faster decompression than zstd, with better ratios
✦AI Summary

The misa77 compression algorithm is introduced as a high-performance tool designed for write-once, read-many scenarios. It offers significantly faster decompression speeds compared to industry standards like zstd and LZ4, though it requires longer encoding times.

Why it matters

Improved decompression speeds can drastically reduce latency and resource consumption in data-heavy applications and cloud storage systems.

✦Dive DeeperCreate a free account to unlock

misa77 is an LZ-based compressor that targets the write-once, read-many niche. In particular, it aims to satisfy the following criteria:

Slow compression is the obvious tradeoff that we make to achieve the above.

Decompression is guaranteed to be safe in the case of corrupt/malicious input (i.e. the decompressor terminates gracefully, and does not access out-of-bounds memory or engage in any other UB) .

A terse summary of misa77's performance would be that relative to its competitors (LZ4 class codecs for levels 1 to 6, and zstd/brotli/xz for levels 11 to 13), it encodes somewhat slower, gets similar ratios, but decodes much faster.

Some results on specific corpora follow. For more detailed and cross-platform results, see BENCHMARKS.md .

The benchmarks below were run on the following setup:

Continue reading on Headlinne

Create a free account to read the full article.

Read full article →
technologybusiness
✦

Get smarter about the news

Sign up free for a feed built around what you actually care about, Dive Deeper research on any story, and the full text of every article.

Create free account

Already have an account? Sign in