Based on http://jsperf.com/native-for-loop-vs-array-foreach-and-array-map-vs-lodas/2 a for loop is faster on my machine.