Live data from Hacker News

Fastest way to slice arguments in JavaScript

github.com

1–3 of 3 posts

Re: Fastest way to slice arguments in JavaScript

#3
post #2

Specific to Node.js? On Firefox Nightly it got a bad result. http://jsperf.com/fastest-slice-method

Could be, I remember reading an article about how using Array.proto.slice on arguments will not get optimised by V8.

https://github.com/petkaantonov/bluebird/wiki/Optimization-k...