ROIpad ← Back to Search
news.ycombinator.com › comment

Comment on: Show HN: misa77 - a codec that decodes 2x faster than LZ4 (at better ratios)

by danlark1
Posted: Jul 15, 2026
It's a somewhat known tradeoff, you can streamline and make the format friendlier to do memcpy which this library targets, the more memcpys you do, the faster it is overall to decode. On highly compressible data lz4, snappy become faster. Snappy on level 2 has faster decompression speedBut you have to pay the price that you need a slower encoding, because finding matches, putting restrictions on match lengths, putting things in different streams have costs you need to pay upfront.Anyway good work, there is probably a need for that.// Currently own Google's snappy and do compression at GoogleP.S. if you want better snappy's results, compile with clang.P.S.S you can optimize aarch64 speed by movemasks from shrn instruction. https://developer.arm.com/community/arm-community-blogs/b/se...
View Discussion ↗
Discussion Thread
Parent Entity
Points: 164 • Comments: 49
Posted: Jul 15, 2026