summaryrefslogtreecommitdiff
path: root/lib/net.js
diff options
context:
space:
mode:
authorBen Noordhuis <info@bnoordhuis.nl>2018-06-19 21:14:31 +0200
committerBen Noordhuis <info@bnoordhuis.nl>2018-06-22 12:04:20 +0200
commit7ec6951034658b63f908977caeb83112d77cdf3b (patch)
tree0ed2589ebbd5d9a4c9a8f2f4943b7757eb199651 /lib/net.js
parentcbe307dc812a9088aa909837b9edd7e728e14953 (diff)
downloadandroid-node-v8-7ec6951034658b63f908977caeb83112d77cdf3b.tar.gz
android-node-v8-7ec6951034658b63f908977caeb83112d77cdf3b.tar.bz2
android-node-v8-7ec6951034658b63f908977caeb83112d77cdf3b.zip
src: avoid common case heap allocation
Optimize three functions that pass on (part of) their JS arguments to the JS function they call by stack-allocating the storage in the common case. PR-URL: https://github.com/nodejs/node/pull/21409 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Eugene Ostroukhov <eostroukhov@google.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Minwoo Jung <minwoo@nodesource.com> Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com>
Diffstat (limited to 'lib/net.js')
0 files changed, 0 insertions, 0 deletions