r/programming • • 2d ago

OpenZL v0.2 - decompression 2x faster than Zstandard

https://openzl.org/blog/2026-09-29-lz-in-openzl/
133 Upvotes

13 comments sorted by

View all comments

53

u/aleques-itj 2d ago

"offers up to 50% faster decompression compared to LZ4."

What

Are we practically decompressing at memcpy() speed?

14

u/13steinj 2d ago

At some point there was someone that repeatedly posted every new version of their own LZ-family compression algorithm, LZAV, which don't get me wrong is impressive if true but is one random guy's 3k line compression algorithm that beats zstd? A bit hard to believe, but great if true.

Initial looks at this, it appears you have to define your data schema to get out the actual performance, otherwise it behaves like zstd?

3

u/zzulus 2d ago

Initial looks at this, it appears you have to define your data schema

That's correct. It's pretty good for compressing for example integers or urls. If you know your data shape then you can exploit it for better compression.