lzip-bug
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: CRC slicing-by-8


From: Antonio Diaz Diaz
Subject: Re: CRC slicing-by-8
Date: Mon, 07 Mar 2022 18:13:30 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i586; en-US; rv:1.9.1.19) Gecko/20110420 SeaMonkey/2.0.14

Hello Adam,

Sorry for the late answer. I have been busy.

Adam Tuja wrote:
Reading discussion about polynomial selection
(https://lists.gnu.org/archive/html/lzip-bug/2017-05/msg00003.html) I wondered
whether better/faster CRC would make a difference in de/compression speed.

Thanks for the suggestion, but I have already tried faster ways of calculating the CRC and I do not think that the (small) increase in speed is worth the increase of portability problems it causes. In line 175 of lzip.h you can find a comment describing my current opinion on the matter:

  // about as fast as it is possible without messing with endianness

I also tested lzlib with lzbench (https://github.com/inikep/lzbench) but
difference was much smaller. I wonder whether I did something wrong.

Probably not. I have also tried, and most changes that make lzip faster don't work as well (or at all) in lzlib.

Best regards,
Antonio.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]