Zack Owens wrote a nice article comparing various loop constructs. Summary: If the semantics are the same, it does not matter if you use foreach, for, while or do while: they all *have equal speed. So: choose the loop construct that best fits the problem you are trying to solve. –jeroen via: ...
More...