Hacker News new | ask | show | jobs
Fastest way to slice arguments in JavaScript (github.com)
6 points by majidarif 4317 days ago
1 comments

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...