Skip to content

More validation performance#1110

Merged
TwitchBronBron merged 6 commits into
release-1.0.0from
more_validation_performance
Mar 20, 2024
Merged

More validation performance#1110
TwitchBronBron merged 6 commits into
release-1.0.0from
more_validation_performance

Conversation

@markwpearce

Copy link
Copy Markdown
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
[email protected] --------- 101.435 ops/sec

After:

validate@local   --------- 286.331 ops/sec
[email protected] --------- 102.877 ops/sec

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

Copy link
Copy Markdown
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
@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