[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: FYI, new sha256 and sha512 modules in coreutils
From: |
Bruno Haible |
Subject: |
Re: FYI, new sha256 and sha512 modules in coreutils |
Date: |
Mon, 3 Mar 2008 13:33:06 +0100 |
User-agent: |
KMail/1.5.4 |
Jim Meyering asked:
> > The compilation of these files with -g -O2 and newer gcc releases takes
> > an awful lot of time (5 minutes or so). Is there some way to make gcc work
> > faster, without decreasing the runtime speed too much?
>
> Wow. What version of gcc, and what type of CPU?
CPU: AMD-K7 500 MHz
gcc time make time make
version sha256.o sha512.o
3.2.2 6.1 sec 68 sec
4.0.4 5.5 sec 27 sec
4.1.2 5.1 sec 14.4 sec
4.2.2 5.2 sec 12.5 sec
4.3-20080215 10.8 sec 20.1 sec
So indeed the problem is indeed not as severe as I remembered, but 20 seconds
of compilation time for a not particularly large file with the newest gcc is
still not nice.
Is there a good workaround?
Bruno
Re: FYI, new sha256 and sha512 modules in coreutils, Simon Josefsson, 2008/03/03