Re:Fastest way to slice arguments in JavaScript
by NaNaN on Wednesday August 27, 2014 @02:36PM
(#8233886)
Specific to Node.js?
On Firefox Nightly it got a bad result.
http://jsperf.com/fastest-slice-method
[ Parent
| on HN ]
Re:Fastest way to slice arguments in JavaScript
by j03w on Wednesday August 27, 2014 @08:04PM
(#8235320)
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...