News for hackers. Stuff that matters.
Re:Show HN: ZXC – Asymmetric, +40% decode vs. LZ4 on ARM (C,... by aidenn0 on Sunday December 21, 2025 @12:29AM (#46342475)
> Unlike symmetric codecs (LZ4), ZXC trades compression speed (build-time) for maximum decompression throughput (run-time).

Huh? This is exactly what lz4 does. Yes, zxc is faster than lz4 at decompressing, but lz4 is clearly asymmetric in the benchmarks shown further down on the page.

Re:Show HN: ZXC – Asymmetric, +40% decode vs. LZ4 on ARM (C,... by masklinn on Sunday December 21, 2025 @02:26AM (#46342948)
And afaik this is what most compression algorithms do. It’s certainly one of the trade offs you have to consider when archiving at high levels of compression.
Re:Show HN: ZXC – Asymmetric, +40% decode vs. LZ4 on ARM (C,... by pollop_ on Monday December 22, 2025 @08:56AM (#46354125)
Fair point regarding the terminology. You are right that LZ4 is already asymmetric compared to generic compression.

My phrasing was a bit too binary. What I meant to highlight is that ZXC pushes this trade-off much further than LZ4. I designed ZXC specifically for scenarios where we accept a significantly slower build-time/compression cost in exchange for that extra raw decode throughput.

Re:Show HN: ZXC – Asymmetric, +40% decode vs. LZ4 on ARM (C,... by aidenn0 on Monday December 22, 2025 @01:13PM (#46356842)
I think the existence of lz4hc is evidence that what you are discussing is within the design-space of LZ4, but ZXC just did a better job of it (though lz4hc achieves better compression than ZXC)