I'm curious why
++$counts{$_} for <IN>;takes about eight times as long as
++$counts{$_} while <IN>;. Any explanations?
Update: Thanks for the replies.
In reply to Why is "for" much slower than "while"? by di
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |