Show menu Hide menu
I ran across a jsperf.com test of a for loop vs foreach and I was surprised at the difference when running the test in Chrome 38:
The for loop consistently came out over 40 times faster than the foreach.
Fri 28 Nov 2014 at 1:49 pm
Sat 14 May 2016 at 11:16 am
Since jsPerf is down, what was the result?
Thu 19 May 2016 at 3:16 pm
That is what the screenshot was for 🙂
Thu 2 Jun 2016 at 1:53 pm
I believe he’s talking about ivan’s test though.
Your email address will not be published. Required fields are marked *
© 2019 Joseph Scott
Theme by Anders Norén — Up ↑