Skip to content
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

esm: improve packageResolve #34269

Closed
wants to merge 6 commits into from
Closed

Conversation

himself65
Copy link
Member

enhance time complexity from O(n) to O(1)

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

@nodejs-github-bot nodejs-github-bot added the esm Issues and PRs related to the ECMAScript Modules implementation. label Jul 9, 2020
@nodejs-github-bot
Copy link
Collaborator

CI: https://ci.nodejs.org/job/node-test-pull-request/32259/

@nodejs-github-bot
Copy link
Collaborator

CI: https://ci.nodejs.org/job/node-test-pull-request/32260/

@nodejs-github-bot
Copy link
Collaborator

CI: https://ci.nodejs.org/job/node-test-pull-request/32261/

Copy link
Contributor

@KuthorX KuthorX left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@guybedford
Copy link
Contributor

@himself65 this is great, thank you for looking into these algorithms.... it seems we may have both hit this at the same time again as I just included a similar refactoring in #34117 which I was hoping to land soon.

Would you be ok with waiting on that PR here?

@himself65
Copy link
Member Author

sure! Thanks for notice that

@himself65 himself65 closed this Jul 12, 2020
@himself65 himself65 deleted the 20200708-enhance branch July 12, 2020 14:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
esm Issues and PRs related to the ECMAScript Modules implementation.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants