Files
clang-p2996/lld/ELF
Fangrui Song 79095b4079 [ELF] --compress-debug-sections=zstd: replace ZSTD_c_nbWorkers parallelism with multi-frame parallelism
https://reviews.llvm.org/D133679 utilizes zstd's multithread API to
create one single frame. This provides a higher compression ratio but is
significantly slower than concatenating multiple frames.

With manual parallelism, it is easier to parallelize memcpy in
OutputSection::writeTo for parallel memcpy.

In addition, as the individual allocated decompression buffers are much
smaller, we can make a wild guess (compressed_size/4) without worrying
about a resize (due to wrong guess) would waste memory.
2024-04-29 22:05:35 -07:00
..
2024-04-19 09:09:41 -07:00
2024-04-19 09:09:41 -07:00
2024-04-19 09:09:41 -07:00
2024-02-13 18:31:32 -05:00