You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I know there are some places in the code (usercolors) that build strings by pushing substrings into an array and then .joining the array. This "optimization" is irrelevant and was probably only ever useful for old IE versions. string.concat(blah) and the += operator are much faster.
I know there are some places in the code (usercolors) that build strings by pushing substrings into an array and then .joining the array. This "optimization" is irrelevant and was probably only ever useful for old IE versions. string.concat(blah) and the += operator are much faster.
http://jsperf.com/array-push-vs-unshift/22
https://pay.reddit.com/r/programming/comments/16e1kh/gmails_javascript_garbage_collection_hacks/c7vaa91
The text was updated successfully, but these errors were encountered: