Skip to content
This repository has been archived by the owner on Feb 12, 2022. It is now read-only.

copying arrays #5

Open
tomByrer opened this issue Apr 18, 2015 · 0 comments
Open

copying arrays #5

tomByrer opened this issue Apr 18, 2015 · 0 comments

Comments

@tomByrer
Copy link

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant