in reply to Re: Speed comparison of foreach vs grep + mapin thread Speed comparison of foreach vs grep + map
It's ...odd to assume the array contains 1..N for the last one, but not for the first two.