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

perf: User Map to optimize performance #4122

merged 2 commits into from Jun 6, 2021


Copy link

@izevo izevo commented Jun 4, 2021

This PR contains:

  • bugfix
  • feature
  • refactor
  • documentation
  • other

Are tests included?

  • yes (bugfixes and features will not be merged without tests)
  • no

Breaking Changes?

  • yes (breaking changes will not be merged unless absolutely necessary)
  • no


Use Map to optimize performance of traceMappings.



Copy link

@github-actions github-actions bot commented Jun 4, 2021

Thank you for your contribution! ❤️

You can try out this pull request locally by installing Rollup via

npm install izevo/rollup#perf-traceMappings-nameIndexMap

or load it into the REPL:

Copy link

@lukastaegert lukastaegert left a comment

Great find, thanks a lot!

Copy link

@lukastaegert lukastaegert left a comment

Ah, it. seems a lot of tests are broken by this change. Could you have a look?

@izevo izevo force-pushed the perf-traceMappings-nameIndexMap branch from b4abfa2 to ab9ad57 Jun 6, 2021
Copy link
Contributor Author

@izevo izevo commented Jun 6, 2021

My mistake. I created a bug and it is fixed now.
Please review again.

@lukastaegert lukastaegert merged commit 172c114 into rollup:master Jun 6, 2021
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

2 participants