A note for those not consumed by efficiency worries

Jens Tingleff jensting at skinfaxe.diku.dk
Thu Mar 22 17:27:12 AEST 1990


sullivan at aqdata.uucp (Michael T. Sullivan) writes:

>:From article <1990Mar21.061420.9862 at athena.mit.edu>, by scs at athena.mit.edu (Steve Summit):
>> 
>> I know y'all know this, as in fact I know that there are times
[....]

>Agreed.  I often see programmers who spend a lot of time trying to
>speed up code that isn't causing a slowdown, and in fact there isn't
[..]

Quite right. I always repeat to myself, whenever I'm urged to do an
unmotivated source code ``optimisation'', 

	MAKE THE THING WORK, THEN MAKE IT FAST.

I also recall some advice from a CS textbook

	1. rule on improvements in the form of source code optimisation :
		DON'T

very good rule that.

	Jens

jensting at diku.dk is
Jens Tingleff MSc EE, Research Assistent at DIKU
	Institute of Computer Science, Copenhagen University
Snail mail: DIKU Universitetsparken 1 DK2100 KBH O



More information about the Comp.lang.c mailing list