summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorAnna Henningsen <anna@addaleax.net>2019-05-26 22:34:51 +0200
committerAnna Henningsen <anna@addaleax.net>2019-05-29 19:28:38 +0200
commit5026db142ab5d07c7144dfb272512d3388476a77 (patch)
treebfe8ca1908b0b94aae498b33ecd3174c7033b2f4 /.github
parent7329c8fe52eb36a238dfdcdd83b8f81034d983fa (diff)
downloadandroid-node-v8-5026db142ab5d07c7144dfb272512d3388476a77.tar.gz
android-node-v8-5026db142ab5d07c7144dfb272512d3388476a77.tar.bz2
android-node-v8-5026db142ab5d07c7144dfb272512d3388476a77.zip
src: use ArrayBufferViewContents more frequently
Using `ArrayBufferViewContents` over `Buffer::Data()`/`Buffer::Length()` or `SPREAD_BUFFER_ARG` has the advantages of creating fewer individual variables to keep track off, not being a “magic” macro that creates variables, reducing code size, and being faster when receiving on-heap TypedArrays. PR-URL: https://github.com/nodejs/node/pull/27920 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Sam Roberts <vieuxtech@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Diffstat (limited to '.github')
0 files changed, 0 insertions, 0 deletions