Jack J. Woehr --> dwm (2006-09-07 08:46:16 -0600):
> 
> On Sep 7, 2006, at 4:13 AM, Sander van Dijk wrote:
> 
> >Optimization is far overrated,
> 
> About a decade ago I was working with a really good older programmer
> named Frank on a huge realtime system he'd been coding for 18 years.
> 
> One of our junior programmers who was helping him proudly optimized a  
> loop.
> 
> Frank looked at the code change and said, "Great! Now if the system is
> running 24 hours a day, you'll save about one second a year in execution
> time. How long did it take you to code that?"

Hmm, but this alone doesn't imply that the junior programmers efforts
were useless. The question is: what would he have done with his time
if he had not spent it optimising that loop?

;-)


Cheers, Jukka

-- 
bashian roulette:
$ ((RANDOM%6)) || rm -rf ~

Reply via email to