-
Notifications
You must be signed in to change notification settings - Fork 78
Skip needless calls to get_align in some cases. #718
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
Conversation
The CI faliures seme to be caused by me basing the PR on master. Should go away once the clippy fixes get merged. |
0c6cc23
to
e6281e0
Compare
Should be good for review now. |
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.
A few questions and nitpicks.
Thanks for this nice improvement!
25e16c8
to
1140abd
Compare
1140abd
to
8571aee
Compare
Should be good for review now! |
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!
Thanks for your contribution! |
This PR updates the
create_type
andBuilder::load
functions to not callget_aligned
when not necessary(for byte-sized types). It also contains some minor improvements to the comments inBuilder::load
function.