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

Optimise struct fields for better memory alignment #20

Closed
mochi-co opened this issue Jan 26, 2022 · 0 comments · Fixed by #24
Closed

Optimise struct fields for better memory alignment #20

mochi-co opened this issue Jan 26, 2022 · 0 comments · Fixed by #24
Assignees
Labels
enhancement New feature or request

Comments

@mochi-co
Copy link
Collaborator

Following #17 we found that various struct fields were not 8bit aligned, which resulted in panics on 32bit builds. Fixing this has highlighted that there are other structs within the code which can be optimised to have better memory alignment.

These should be refactored so that each struct uses the optimal amount of memory for better caching, and that all fields should be 8bit aligned for improved 32bit compatibility.

@mochi-co mochi-co added the enhancement New feature or request label Jan 26, 2022
@mochi-co mochi-co self-assigned this Jan 26, 2022
@mochi-co mochi-co linked a pull request Jan 28, 2022 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant