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:

http://pubs.opengroup.org/onlinepubs/9699919799/functions/clock.html

"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,
Antonio.

Reply via email to