GNU bug report logs - #67022
Gzip decompression can be 60% faster using zlib's CRC32

Previous Next

Package: gzip;

Reported by: Young Mo Kang <kym327 <at> gmail.com>

Date: Thu, 9 Nov 2023 17:42:01 UTC

Severity: normal

Done: Paul Eggert <eggert <at> cs.ucla.edu>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: wrotycz <wrotycz <at> wir.pl>
To: 67022 <at> debbugs.gnu.org
Subject: bug#67022: Gzip decompression can be 60% faster using zlib's CRC32
Date: Thu, 14 Mar 2024 18:23:17 +0100
[Message part 1 (text/plain, inline)]
Re: bug#67022: Gzip decompression can be 60% faster using zlib&#39;s CRC32    I tried to make that CRC-slice-by-8 happen but, as I miss something, maybe you will get that right.  My guess the problem lies in all those negations of crc (`(return) crc = crc ^ 0xffffffff;&#39;).   I prepared diff that does that, in more, less simple way. `crc32_8b...()&#39; should be in util.c, and crc32.h should only contain lookup table generated by `sample/makecrc8.c&#39;, but until it works correctly it is in the header. Moving it to corret place is the least of the problem.   I put the diff in paste as it&#39;s bit big to attach to email.   ~~~ bash  wget -Ogzip-1.13-crc328-2.diff  paste.ee https://paste.ee/d/mkqTU/0  cd gzip-1.13  patch -p1 ../gzip-1.13-crc328-2.diff  ~~~   Hope that will help to make it happen.
[Message part 2 (text/html, inline)]

This bug report was last modified 100 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.