-
Notifications
You must be signed in to change notification settings - Fork 57
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
refactor(perf): reduce parser size #356
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice work @tris203!
Do I need to address the ci failure? @amaanq |
No, it's just 1 failing file. I should probably pin those repos to test on, since this grammar is a little more fragile than others. The issue is also not too hard to fix (just preprocs in attribute list), so I'll follow up with a fix for it. |
thanks a ton @tris203! I think once we handle reserved identifiers better upstream, this parser will shrink another substantial amount 🙂 |
Starting Stats
After Stats
20.7% reduction in size
from 33mb to 26.8mb