mirror of https://github.com/lukechilds/node.git
Browse Source
Instead of leaking the arguments object by passing it as an argument to a function, copy it's contents to a new array, then pass the array. This allows V8 to optimize the function that contains this code, improving performance. PR-URL: https://github.com/nodejs/node/pull/4361 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Brian White <mscdex@mscdex.net>process-exit-stdio-flushing
Nathan Woltman
9 years ago
committed by
James M Snell
5 changed files with 43 additions and 14 deletions
Loading…
Reference in new issue