Performance vs. Structure

J.T. Conklin jtc at tessera.UUCP
Sun Oct 8 00:13:42 AEST 1989


I've been amused as various people have "Structured" the _doprnt
code by eliminating gotos.  I don't get it.  Is it really worth
increasing the formatted i/o bottleneck by eliminating gotos from
a library routine that may not be changed in years?

I don't advocate gratuitious use of gotos, but I find them perfectly
acceptable in low-level library routines and small state machines.

    --jtc

-- 
J.T. Conklin
	...!{ubc-cs,uunet}!van-bc!tessera!jtc



More information about the Comp.lang.c mailing list