diff options
author | Nikolai Vavilov <vvnicholas@gmail.com> | 2020-05-02 20:30:44 +0300 |
---|---|---|
committer | Shelley Vohr <shelley.vohr@gmail.com> | 2020-06-07 09:51:59 -0700 |
commit | 964adfafa56ba2601d7c18f754a3476894ab8224 (patch) | |
tree | 16239418ce47ecb790b2540ba8d128cc800981c7 /deps/npm/docs/public/cli-commands | |
parent | 66dbaff84846ea85f14a5be52589ef1fb75cbe15 (diff) | |
download | node-new-964adfafa56ba2601d7c18f754a3476894ab8224.tar.gz |
buffer: improve copy() performance
There is no need to create a slice when sourceEnd is out of bounds.
PR-URL: https://github.com/nodejs/node/pull/33214
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Zeyu Yang <himself65@outlook.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Diffstat (limited to 'deps/npm/docs/public/cli-commands')
0 files changed, 0 insertions, 0 deletions