I printed the time before and after the iteration, the result is both 1325041218:
print time . "\n"; my @a = any {$_== 92} 1..100000000; print "\n"; print time;
So the time is not taken by the iteration..
In reply to Re^4: Why it takes so much time here?
by PerlOnTheWay
in thread Why it takes so much time here?
by PerlOnTheWay
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |