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

Lexicon: optimize lex de/serialization #732

Merged
merged 2 commits into from
Mar 29, 2023

Conversation

devinivy
Copy link
Collaborator

@devinivy devinivy commented Mar 29, 2023

We were getting an unfriendly slowdown in the lex-refactor, and traced it down pretty exclusively to the new de/serialization processing. By moving away from our check.is() system to simple checks wherever possible during de/serialization, we get a big speedup.

@devinivy devinivy changed the title Optimize lex de/serialization using simple checks Lexicon: optimize lex de/serialization Mar 29, 2023
@devinivy devinivy mentioned this pull request Mar 29, 2023
Copy link
Collaborator

@dholms dholms left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice this looks excellent 🙌

@devinivy devinivy merged commit e4b1827 into lex-refactor Mar 29, 2023
@devinivy devinivy deleted the lex/optimize-lex-serialization branch March 29, 2023 16:33
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