in reply to Efficiency and overhead of subs
I think you're asking the wrong question.
Don't ask, 'How long does the computer take to run this program?'. Ask: 'How long do I take to write this program?'.
You'll probably save hours of time and lots of coffee by writing the program in such a way that it's easier to maintain. Do a million milliseconds spent executing the program a million time really weigh up against the hours (one hour equals 3.6e+6 milliseconds) saved by writing it in an easier-to-maintain way, using subs?
Besides, if you're still more concerned about CPU efficiency as opposed to programmer efficiency, you'd better stick to C :-)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Efficiency and overhead of subs
by Purdy (Hermit) on Nov 16, 2001 at 21:44 UTC | |
by cacharbe (Curate) on Nov 17, 2001 at 01:51 UTC |