diff options
author | Nathan Woltman <nwoltman@outlook.com> | 2015-12-20 10:01:34 +0300 |
---|---|---|
committer | James M Snell <jasnell@gmail.com> | 2016-03-11 05:45:08 +0300 |
commit | d0582ef9e19e8ed941b0a585c935ad11919080ee (patch) | |
tree | 867f8ef85cb0b7bafef37ee5bd96f7f4868baae1 /doc/releases.md | |
parent | 0ea3899cabfebc764b8dedbd64d306b54db81fa6 (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