Skip to content

src: use ArrayBufferViewContents more frequently

Rodrigo Muino Tomonari requested to merge github/fork/addaleax/more-abvc into master

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.

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • commit message follows commit guidelines

Merge request reports

Loading