4 ms·
I'm not a hardcore JS dev, but it probably has to do with the speed of objects vs. arrays. In most languages, arrays are significantly faster (because they're b
by mosquito242 11y ago
I'm not a hardcore JS dev, but it probably has to do with the speed of objects vs. arrays. In most languages, arrays are significantly faster (because they're basically one contiguous block of memory).
[1] http://stackoverflow.com/questions/17295056/array-vs-object-efficiency-in-javascript http://stackoverflow.com/questions/17295056/array-vs-object-...