Skip to content

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

FractalFir
Copy link
Contributor

This PR updates the create_type and Builder::load functions to not call get_aligned when not necessary(for byte-sized types). It also contains some minor improvements to the comments in Builder::load function.

@FractalFir
Copy link
Contributor Author

The CI faliures seme to be caused by me basing the PR on master. Should go away once the clippy fixes get merged.

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.

1 participant