# misa77: 极速解压的LZ压缩库

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

> Hacker News story 50742379 · language: zh · submitted 2026-12-03
> Web version: https://zeli.app/zh/story/50742379
> About this feed: https://zeli.app/llms.txt · Agent guide: https://zeli.app/skill.md

▲ 192 · by [nonadhocproblem](<https://news.ycombinator.com/user?id=nonadhocproblem>) · 💬 62
[original](<https://github.com/welcome-to-the-sunny-side/misa77/tree/main>) · [HN discussion](<https://news.ycombinator.com/item?id=50742379>)

## Summary

misa77是一款专为“写入一次、读取多次”场景打造的LZ压缩库。它牺牲了压缩速度，换取了极致的解压性能。在保持与LZ4和zstd相近压缩比的同时，misa77的解压速度可达它们的2到3倍。无论是处理Silesia语料库还是游戏资产，misa77都能提供卓越的单线程内存解压吞吐量，同时保证内存占用恒定且面对恶意输入时的安全性。

## Key quote

> misa77在压缩比与zstd相当的情况下，解压速度却快出2.5到3倍，完美诠释了‘写入一次，读取多次’的极致追求。

## HN discussion (62 comments)

### [orlp](<https://news.ycombinator.com/item?id=50743646>)

> 我也在开发一种更好的压缩算法。它的解压速度比 zstd 快 6 倍，同时压缩率和压缩速度大致相当。尤其是后者，misa77 在这方面表现不佳，例如在 AMD 上运行 lzbench 时，zstd -2 的压缩速度为 350 MB/s（https://inikep.github.io/lzbench/），而 misa77 在相似压缩率下的速度仅为 ~10 MB/s。
>
> 我的参考实现也是用（几乎完全安全的）Rust 编写的，我真心认为在 2026 年，这是新压缩算法的入门门槛。鉴于近期针对不安全压缩实现的各种攻击，我认为用内存不安全的语言编写新压缩算法根本行不通。
>
> 希望到 12 月底能推出一个发布就绪的版本，到时候我有更多时间打磨它。

### [weitendorf](<https://news.ycombinator.com/item?id=50743796>)

> 我稍后会试试这个。最近几天我在 brotli 上实现了 5 倍（单核，5MB/s）到 10 倍（双核 10MB/s）的加速。令人惊讶的是，由于传输未优化，有多少存储和流量带宽被浪费了。
>
> brotli -11 慢得吓人，可能现在没人用，但提速 10 倍后其实还挺不错的。在最大压缩设置下，它的编码效率比 zstd（更不用说 gzip）高得多。
>
> 还没写总结，但可以参考：https://claude.ai/share/0e8bf6c0-6d64-4a34-8f97-37ccbae19732
>
> 在我看来，Brotli 和 zstd 属于一类，因为它们有直接的浏览器集成和支持。所以我专门关注了 brotli。没想到 HN 上还有这么多人在做这个。
>
> 我实际上是在 x86_64 上完成的，但如果你从这里开始，如今用 C/Go 等语言封装起来简直易如反掌。这是 Go+C 的封装代码：https://claude.ai/share/57ddeb9a-36bf-4690-99d5-621147b15a77

### [powturbo](<https://news.ycombinator.com/item?id=50744129>)

> 每日多平台基准测试地址：https://github.com/powturbo/TurboBench/blob/master/turbobenc...
>
> mis77, zxc, zstd, minlz, ...
>
> TurboBench 压缩基准测试：https://github.com/powturbo/TurboBench

### [zX41ZdbW](<https://news.ycombinator.com/item?id=50746979>)

> 在真实数据集上测试过：https://github.com/ClickHouse/ClickHouse/pull/137004#issueco...

### [manlymuppet](<https://news.ycombinator.com/item?id=50747752>)

> 希望能看到更多关于压缩耗时的指标。
>
> 人们总可以把 zstd 或其他类似压缩器的预设级别调得很高，但结果通常慢得没法用。

---

## Cite

- Page: https://zeli.app/zh/story/50742379
- Date: 2026-12-03
- Source: github.com (https://github.com/welcome-to-the-sunny-side/misa77/tree/main)
- Hacker News: https://news.ycombinator.com/item?id=50742379

## Other languages

- en: https://zeli.app/story/50742379 · markdown: https://zeli.app/story/50742379.md
- ja: https://zeli.app/ja/story/50742379 · markdown: https://zeli.app/ja/story/50742379.md
- ko: https://zeli.app/ko/story/50742379 · markdown: https://zeli.app/ko/story/50742379.md
- de: https://zeli.app/de/story/50742379 · markdown: https://zeli.app/de/story/50742379.md
- es: https://zeli.app/es/story/50742379 · markdown: https://zeli.app/es/story/50742379.md
- ru: https://zeli.app/ru/story/50742379 · markdown: https://zeli.app/ru/story/50742379.md
