-
Notifications
You must be signed in to change notification settings - Fork 30.3k
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
esm: improve packageResolve #34269
Conversation
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.
LGTM
@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? |
sure! Thanks for notice that |
enhance time complexity from
O(n)
toO(1)
Checklist
make -j4 test
(UNIX), orvcbuild test
(Windows) passes