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

More validation performance #1110

Merged
merged 6 commits into from
Mar 20, 2024
Merged

Conversation

markwpearce
Copy link
Collaborator

Refactors local variable checking to only check un-changed AstSegments for function shadowing if those segments make an assignment to a symbol that changed.

Before:

validate@local   ---------- 51.368 ops/sec
validate@0.65.26 --------- 101.435 ops/sec

After:

validate@local   --------- 286.331 ops/sec
validate@0.65.26 --------- 102.877 ops/sec

@markwpearce markwpearce added this to the v1.0.0 milestone Mar 14, 2024
@TwitchBronBron
Copy link
Member

Woah! That's some serious performance improvements!!! I'll test this out in our huge project to make sure it didn't break anything, but I'm super excited about this

@TwitchBronBron TwitchBronBron merged commit 56920d4 into release-1.0.0 Mar 20, 2024
6 checks passed
@TwitchBronBron TwitchBronBron deleted the more_validation_performance branch March 20, 2024 18:40
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.

2 participants