diff options
author | Joyee Cheung <joyeec9h3@gmail.com> | 2018-11-06 18:35:01 +0800 |
---|---|---|
committer | Rich Trott <rtrott@gmail.com> | 2018-11-08 15:01:09 -0800 |
commit | c7e657908c4c2ade215ca51c04754b77489c760a (patch) | |
tree | 5d69e2dcc5bc605c707856834a2158ead963bb2e /benchmark | |
parent | 00d368e5bc63a2009bd12932558eba71f0e1bc5a (diff) | |
download | android-node-v8-c7e657908c4c2ade215ca51c04754b77489c760a.tar.gz android-node-v8-c7e657908c4c2ade215ca51c04754b77489c760a.tar.bz2 android-node-v8-c7e657908c4c2ade215ca51c04754b77489c760a.zip |
fs: replace pushValueToArray with pure C++ API
Instead of calling into JS from C++ to push values into an array,
use the new Array::New API that takes a pointer and a length
directly.
PR-URL: https://github.com/nodejs/node/pull/24125
Refs: https://github.com/v8/v8/commit/0483e9a9abe77a73632fd85b9c0cd608efa9aa0d
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Yang Guo <yangguo@chromium.org>
Reviewed-By: Gus Caplan <me@gus.host>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Refael Ackermann <refack@gmail.com>
Diffstat (limited to 'benchmark')
0 files changed, 0 insertions, 0 deletions