in reply to Re: performance of map vs. foreach
in thread performance of map vs. foreach
The upshot of this is that map and foreach loop just as fast as each other. It's what you ask them to do (and how you use them) that dictates that in some cases one will be faster than the other.
Dave
|
|---|