3 ms·
Better? If its using object properties then beware there is a very significant performance hit looping over object properties vs looping through a native array.
by lttlrck 14y ago
Better? If its using object properties then beware there is a very significant performance hit looping over object properties vs looping through a native array.
Array looping is 5x faster in V8 trunk with a simple 10 element benchmark.