Skip to content

Conversation

@loewenheim
Copy link
Contributor

This changes SourceMap::adjust_mappings to a method that mutates its receiver instead of a function that creates a new SourceMap out of references. This avoids a bunch of cloning of source contents and brings a marked performance improvement in my (local, nonscientific) injection tests.

This would require a major release.

@loewenheim loewenheim self-assigned this Aug 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants