最快的实时解压算法
我正在寻找一种算法,以最小的开销实时解压缩数据块(1k-30k)。压缩速度最好要快,但不如解压速度那么重要。
据我所知,LZO1X 是最快的。我错过了什么吗?理想情况下,该算法不受 GPL 约束。
I'm looking for an algorithm to decompress chunks of data (1k-30k) in real time with minimal overhead. Compression should preferably be fast but isn't as important as decompression speed.
From what I could gather LZO1X would be the fastest one. Have I missed anything? Ideally the algorithm is not under GPL.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
lz4 就是您在这里寻找的内容。
lz4 is what you're looking for here.
尝试 Google 的 Snappy。
Try Google's Snappy.
当您无法使用 GPL 许可的代码时,您的选择很明确 - zlib。非常宽松的许可证,快速压缩,公平的压缩比,非常快的解压,在任何地方都可以工作并移植到每种正常的语言。
When you cannot use GPL licensed code your choice is clear - zlib. Very permissive license, fast compression, fair compression ratio, very fast decompression, works everywhere and ported to every sane language.