4 ms·
Wow, direct assignment is an order of magnitude faster than push (in my test, chrome 27 on windows 7). Can anyone explain why?
by willurd 13y ago
Wow, direct assignment is an order of magnitude faster than push (in my test, chrome 27 on windows 7). Can anyone explain why?
- mischanix 13y agoDirect assignment is the only test in which the length of array doesn't change.