Organizational Research By

Surprising Reserch Topic

does node js really not optimize calls to slice callarguments


does node js really not optimize calls to slice callarguments  using -'node.js,optimization'

In the bluebird docs, they have this as an anti-pattern that stops optimization.. They call it argument leaking,

function leaksArguments2() {
    var args = [].slice.call(arguments);
}


I do this all the time in Node.js. Is this really a problem. And, if so, why?

Assume only the latest version of Node.js.
    

asked Sep 22, 2015 by abhimca2006
0 votes
1 view



Related Hot Questions

2 Answers

0 votes
NULL
answered Sep 22, 2015 by tejas lakhani
0 votes
NULL
answered Sep 22, 2015 by mca.agarwal

...