bug#67022: Gzip decompression can be 60% faster using zlib's CRC32

2023-11-09 Thread Young Mo Kang
Hello, I have noticed that GNU Gzip's CRC32 calculation is the main bottleneck in decompression, and it can run significantly faster >60% if we replace it with crc32 function from zlib. I tested decompression speed of linux source code tar.gz file before and after replacing CRC32 computati

bug#67022: Gzip decompression can be 60% faster using zlib's CRC32

2023-11-09 Thread Paul Eggert
On 2023-11-09 09:40, Young Mo Kang wrote: Since both GNU Gzip and zlib are written by the same authors, I was wondering if GNU Gzip can share zlib's CRC32 calculation and obtain this performance gain--I am not sure if there would be a license issue though. Shouldn't be a license issue. It's ju