-
Notifications
You must be signed in to change notification settings - Fork 231
Speed up generated decoder compilation times #300
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
Speed up generated decoder compilation times #300
Conversation
Some benchmark results from running
This looks very promising. I was not yet able to refactor |
edce65e
to
2c36dee
Compare
I managed to use
|
This pull request speeds up compilation by extracting common code from field assignments into helper functions, and by preferring local variables for initial assignment instead of assigning struct fields directly. See #299 for the corresponding issue.
Fix #299.