break <label> and another use for goto's.

Henry Spencer henry at utzoo.UUCP
Sat Jan 19 08:14:20 AEST 1985


> Unfortunately, Henry, things aren't always that simple.  If one is
> dealing with time critical or often used code within a loop, the
> overhead inccurred with all of the procedure calls can add up.
> I once shaved 30% execution time off a program by expanding a routine
> call in an often traversed loop.  ...  The point
> is that sometimes execution speeds are critical and "good" coding
> style gets in the way of speed.  ...

Agreed, unfortunately.  But pragmatic perversions that are necessary
about 0.1% of the time should not be held up for public acclaim as
examples of recommended style.
-- 
				Henry Spencer @ U of Toronto Zoology
				{allegra,ihnp4,linus,decvax}!utzoo!henry



More information about the Comp.lang.c mailing list