Skip to content

src: avoid common case heap allocation - #21409

Merged
bnoordhuis merged 1 commit into
nodejs:masterfrom
bnoordhuis:optimize-variadic-function-calls
Jun 22, 2018
Merged

src: avoid common case heap allocation#21409
bnoordhuis merged 1 commit into
nodejs:masterfrom
bnoordhuis:optimize-variadic-function-calls

Conversation

@bnoordhuis

Copy link
Copy Markdown
Member

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.

@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

@nodejs-github-botnodejs-github-bot added c++ Issues and PRs that require attention from people who are familiar with C++. lib / src Issues and PRs related to general changes in the lib or src directory. labels Jun 19, 2018
@BridgeAR

Copy link
Copy Markdown
Member

@BridgeARBridgeAR added the author ready PRs that have at least one approval, no pending requests for changes, and a CI started. label Jun 20, 2018
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: nodejs#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>
@bnoordhuis
bnoordhuisforce-pushed the optimize-variadic-function-calls branch from 58939ba to 7ec6951CompareJune 22, 2018 10:04
@bnoordhuis
bnoordhuis deleted the optimize-variadic-function-calls branch June 22, 2018 10:04
@bnoordhuis

Copy link
Copy Markdown
MemberAuthor

Landed in 7ec6951.

@bnoordhuis
bnoordhuis merged commit 7ec6951 into nodejs:masterJun 22, 2018
targos pushed a commit that referenced this pull request Jun 22, 2018
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: #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>
@targostargos mentioned this pull request Jul 3, 2018
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

author readyPRs that have at least one approval, no pending requests for changes, and a CI started.c++Issues and PRs that require attention from people who are familiar with C++.lib / srcIssues and PRs related to general changes in the lib or src directory.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants

@bnoordhuis@nodejs-github-bot@BridgeAR@eugeneo@jasnell@TimothyGu@cjihrig@JungMinu