Your skill will accomplish what the force of many cannot |
|
PerlMonks |
Re^2: Dreaming in Perlby Aristotle (Chancellor) |
on Dec 02, 2002 at 23:41 UTC ( [id://217081]=note: print w/replies, xml ) | Need Help?? |
I'm too lazy to benchmark, but since I know for(;;) is implemented in terms of while(){} continue{} and am fairly certain the list for the foreach is generated lazily in Perl5 (and thus juggling memory is not an issue), I'll hazard a guess that #3 should be the be the fastest of the lot. FWIW, I don't remember ever dreaming of code. Then again, I rarely ever remember anything but the worst of anxiety ridden dreams, so I may well have. Who knows? Makeshifts last the longest.
In Section
Meditations
|
|