-
Notifications
You must be signed in to change notification settings - Fork 30.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
src: clean up PER_ISOLATE_STRING_PROPERTIES #8207
src: clean up PER_ISOLATE_STRING_PROPERTIES #8207
Conversation
env->as_external()); | ||
CHECK(maybe.FromJust()); | ||
{ | ||
auto name = FIXED_ONE_BYTE_STRING(env->isolate(), "title"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I find name
confusing. Can we inline it or rename it to title_string
?
LGTM. |
LGTM |
c9e553c
to
7e02c15
Compare
Renamed the variables. CI: https://ci.nodejs.org/job/node-test-pull-request/3796/ |
Still LGTM |
Remove unused strings from the PER_ISOLATE_STRING_PROPERTIES list. PR-URL: nodejs#8207 Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
Remove strings from the PER_ISOLATE_STRING_PROPERTIES list that are only used once during initialization. It's less expensive to simply create them when needed than turn them into v8::Eternal instances. PR-URL: nodejs#8207 Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
7e02c15
to
b4ea3a0
Compare
Remove unused strings from the PER_ISOLATE_STRING_PROPERTIES list. PR-URL: #8207 Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
Remove strings from the PER_ISOLATE_STRING_PROPERTIES list that are only used once during initialization. It's less expensive to simply create them when needed than turn them into v8::Eternal instances. PR-URL: #8207 Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
@bnoordhuis should this be backported? |
If it applies and builds, sure. If it doesn't, it's okay to leave it out. |
@bnoordhuis this does not land cleanly, leaving it out unless someone wants to backport |
CI: https://ci.nodejs.org/job/node-test-pull-request/3776/