Path: csiph.com!weretis.net!feeder9.news.weretis.net!news.quux.org!eternal-september.org!feeder2.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: Tim Rentsch
Newsgroups: comp.lang.c
Subject: Re: else ladders practice
Date: Mon, 25 Nov 2024 10:49:27 -0800
Organization: A noiseless patient Spider
Lines: 17
Message-ID: <86y117qhc8.fsf@linuxsc.com>
References: <3deb64c5b0ee344acd9fbaea1002baf7302c1e8f@i2pn2.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Injection-Date: Mon, 25 Nov 2024 19:49:28 +0100 (CET)
Injection-Info: dont-email.me; posting-host="d0fcbf139f066190487faadf13f2576f"; logging-data="3084915"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/l/iR/zkN/1qD9NPc+mJF2IWur3fjl/p8="
User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.4 (gnu/linux)
Cancel-Lock: sha1:DLgZP6hisRjyDiWkC0V65gJX2qE= sha1:OXiQVU3M5Zt5heCg/MiTJUAFeaw=
Xref: csiph.com comp.lang.c:389088
Bart 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