lib: refactor to avoid unsafe array iteration#37029
Closed
aduh95 wants to merge 1 commit intonodejs:masterfrom
Closed
lib: refactor to avoid unsafe array iteration#37029aduh95 wants to merge 1 commit intonodejs:masterfrom
aduh95 wants to merge 1 commit intonodejs:masterfrom
Conversation
2 tasks
RaisinTen
approved these changes
Jan 23, 2021
Collaborator
Trott
approved these changes
Jan 23, 2021
Member
Trott
left a comment
There was a problem hiding this comment.
LGTM. Does this need a benchmark?
Contributor
Author
|
Benchmark CI: https://ci.nodejs.org/view/Node.js%20benchmark/job/benchmark-node-micro-benchmarks/910/ EDIT: Didn't show any significant improvement or regression. Details |
JungMinu
approved these changes
Jan 25, 2021
Member
|
Since node/lib/internal/bootstrap/node.js Lines 252 to 256 in efa6e1d and grep allowedNodeEnvironmentFlags benchmark/process/* gives nothing, I think the benchmark didn't run the new code.
|
Contributor
Author
|
Benchmark CI (misc/startup): https://ci.nodejs.org/view/Node.js%20benchmark/job/benchmark-node-micro-benchmarks/911/ |
Lxxyx
approved these changes
Jan 26, 2021
RaisinTen
pushed a commit
that referenced
this pull request
Jan 27, 2021
PR-URL: #37029 Reviewed-By: Darshan Sen <raisinten@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Minwoo Jung <nodecorelab@gmail.com> Reviewed-By: Zijian Liu <lxxyxzj@gmail.com>
Member
|
Landed in 2e1e02a |
targos
pushed a commit
that referenced
this pull request
Feb 2, 2021
PR-URL: #37029 Reviewed-By: Darshan Sen <raisinten@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Minwoo Jung <nodecorelab@gmail.com> Reviewed-By: Zijian Liu <lxxyxzj@gmail.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.