Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNathan Woltman <nwoltman@outlook.com>2015-12-20 10:01:34 +0300
committerJames M Snell <jasnell@gmail.com>2016-03-11 05:45:08 +0300
commitd0582ef9e19e8ed941b0a585c935ad11919080ee (patch)
tree867f8ef85cb0b7bafef37ee5bd96f7f4868baae1 /doc/releases.md
parent0ea3899cabfebc764b8dedbd64d306b54db81fa6 (diff)
lib: copy arguments object instead of leaking it
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>
Diffstat (limited to 'doc/releases.md')
0 files changed, 0 insertions, 0 deletions