ExactTarget/javascript

copying arrays

tomByrer opened this issue · 0 comments

More of a FYI: for copying arrays seems that slice used to be fastest, but no longer. Could use testing if you want to optimize large vs small arrays, sparce vs dense, memory usage, etc.
http://jsperf.com/converting-arguments-to-an-array/21