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

Revert range and column caching #1147

Merged
merged 1 commit into from
Apr 25, 2024

Conversation

TwitchBronBron
Copy link
Member

Turns out #940 actually slowed down performance. It's faster to just make new Range and Location objects directly. V8 does a great job optimizing this flow.

Caching enabled on local:
image

Caching disabled on local:
image

@TwitchBronBron TwitchBronBron merged commit 9e14683 into release-1.0.0 Apr 25, 2024
4 checks passed
@TwitchBronBron TwitchBronBron deleted the faster-range-and-position branch April 25, 2024 16:28
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.

None yet

1 participant