Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Posting-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: utzoo!henry
From: henry@utzoo.UUCP (Henry Spencer)
Newsgroups: net.lang.c
Subject: Re: break and another use for goto's.
Message-ID: <4955@utzoo.UUCP>
Date: Fri, 18-Jan-85 17:14:20 EST
Article-I.D.: utzoo.4955
Posted: Fri Jan 18 17:14:20 1985
Date-Received: Fri, 18-Jan-85 17:14:20 EST
References: <7121@brl-tgr.ARPA> <23@decvax.UUCP> <4913@utzoo.UUCP>, <379@hercules.UUCP>
Organization: U of Toronto Zoology
Lines: 14
> 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