[Top][All Lists]

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

Re: Time/Speed of de/compression summary

From: Antonio Diaz Diaz
Subject: Re: Time/Speed of de/compression summary
Date: Wed, 16 Mar 2022 16:51:43 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i586; en-US; rv: Gecko/20110420 SeaMonkey/2.0.14

Hi Adam,

Antonio Diaz Diaz wrote:
Thank you for the patch, but it introduces dependencies on things like
clock_t or CLOCKS_PER_SEC which I'm not sure how portable and problem-free
they are,

As I suspected, they are not problem-free:


"In programming environments where clock_t is a 32-bit integer type and CLOCKS_PER_SEC is one million, clock() will start failing in less than 36 minutes of processor time for signed clock_t, or 72 minutes for unsigned clock_t."

As measuring speed is not the job of lzip, I prefer to leave lzip as it is now.

Best regards,

reply via email to

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