Sujet : Re: else ladders practice
De : tr.17687 (at) *nospam* z991.linuxsc.com (Tim Rentsch)
Groupes : comp.lang.cDate : 25. Nov 2024, 19:49:27
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <86y117qhc8.fsf@linuxsc.com>
References : 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
User-Agent : Gnus/5.11 (Gnus v5.11) Emacs/22.4 (gnu/linux)
Bart <
bc@freeuk.com> writes:
It's funny how nobody seems to care about the speed of compilers
(which can vary by 100:1), but for the generated programs, the 2:1
speedup you might get by optimising it is vital!
I think most people would rather take this path (these times
are actual measured times of a recently written program):
compile time: 1 second
program run time: ~7 hours
than this path (extrapolated using the ratios mentioned above):
compile time: 0.01 second
program run time: ~14 hours