Skip to content

Conversation

@pepeiborra
Copy link
Collaborator

HMS.size is O(n) and getPathId gets called in the rawDependencyInformation loop, causing potentially quadratic complexity. This is not noticeable in small/medium projects, but it becomes quite expensive in projects with >10k modules, dominating startup times.

HMS.size is O(n) and getPathId gets called in the rawDependencyInformation loop
Copy link
Member

@jneira jneira left a comment

Choose a reason for hiding this comment

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

lgtm

@pepeiborra pepeiborra added the merge me Label to trigger pull request merge label Feb 24, 2021
Copy link
Member

@Ailrun Ailrun left a comment

Choose a reason for hiding this comment

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

Awesome!

@mergify mergify bot merged commit 2749371 into master Feb 24, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

merge me Label to trigger pull request merge

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants