> On 25 Feb 2026, at 07:31, yangyz <[email protected]> wrote:

> 2.Performance Overhead
> In each iteration, the entire buffer of size LZ4_CHUNK_SZ (potentially 
> several megabytes) is zero-initialized. Since these memory blocks are 
> immediately overwritten by decompressed data, this zeroing operation 
> constitutes an unnecessary consumption of CPU resources.

When proposing a performance improvement it's important to provide some level
of benchmarks to show the improvement. Is removing this memset noticeable?

--
Daniel Gustafsson



Reply via email to