JavaScript Array.push Performance
Steven Hall, October 15th, 2010
I was recently reading Google’s JavaScript Style Guide when I came across the following claim: “Note that since assigning values to an array is faster than using push() you should use assignment where possible.” I had always used push to assign a value to the end of an array, so thought I’d investigate this a little [...]
