[Top][All Lists]

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

Re: [Chicken-users] two minor tweaks to runtime.c

From: Peter Bex
Subject: Re: [Chicken-users] two minor tweaks to runtime.c
Date: Tue, 27 Sep 2011 15:29:18 +0200
User-agent: Mutt/

On Tue, Sep 27, 2011 at 03:22:06PM +0200, Jörg F. Wittenberger wrote:
> While I've been looking at the code I wondered if the C compiler
> will fur sure pull that one test out of the for-loop.
> Maybe it's better no have it there at the first place.
> IMHO the code is not more confusing to read this way and should
> run better in case the C compiler is not smart enough.

I'm firmly opposed to any such change that makes the code
much less readable for very little gain.

"The process of preparing programs for a digital computer
 is especially attractive, not only because it can be economically
 and scientifically rewarding, but also because it can be an aesthetic
 experience much like composing poetry or music."
                                                        -- Donald Knuth

reply via email to

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