in reply to how long does for(1..$n) take?
Now, if only there were a builtin function that would cause the script to pause for a specified number of seconds ... like, say, this one?
=)
As far as the general question goes, timing with a for loop seems subject to system load as well as the more obvious things (like available RAM, processor type and speed, etc.). Even if you benchmarked it, how could you ever rely on the system being in the same state as it was when you benchmarked it?
Philosophy can be made out of anything. Or less -- Jerry A. Fodor
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
(jptxs) Re: how long does for(1..$n) take?
by jptxs (Curate) on Feb 16, 2001 at 04:52 UTC | |
by kschwab (Vicar) on Feb 16, 2001 at 06:31 UTC |