in reply to Difference between foreach and grep
There are at least 6 different kinds of for/foreach, so that's a rather vague question. More efficient to do what?