Perl Monk, Perl Meditation | |
PerlMonks |
Re^3: perl process slower and slower when loop number increaseby Dallaylaen (Chaplain) |
on Jan 22, 2018 at 15:59 UTC ( [id://1207677]=note: print w/replies, xml ) | Need Help?? |
for ($i=0; $i<1; $i++); is a better null statement because the parsing time would be exactly the same. And running 1 iteration of a loop (or 100 for that matter) is negligible.
In Section
Seekers of Perl Wisdom
|
|