OK - let's say that we won the argument with the above. What's the best way to copy things? I try 3 ways:
- lodash (faster and better than underscore) -- my preferred syntax.
- The JS for loop.
- Native Angular forEach.
See the results here: http://jsperf.com/dudeman
They are all fast!
No comments:
Post a Comment