Skip to content

net: use rest parameters instead of arguments

In v8 5.8, rest parameters are significantly faster than other ways to create an array of the arguments. (And it just looks better.)

Refs: https://github.com/nodejs/node/issues/13430

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

net

Merge request reports

Loading