Skip to content

Remove explicit padding from struct definitions - #719

Merged
jodavies merged 1 commit into
form-dev:masterfrom
jodavies:struct-padding-2
Oct 7, 2025
Merged

jodavies merged 1 commit into
form-dev:masterfrom
jodavies:struct-padding-2

Conversation

@jodavies

Copy link
Copy Markdown
Collaborator

Modern compilers align structs appropriately according to the alignment requirements of the member types. Removing the padding reduces the size of many of the structs, and the alignment remains the same.

@coveralls

coveralls commented Sep 30, 2025 •

Copy link
Copy Markdown

Coverage Status

coverage: 55.781% (+0.01%) from 55.77%
when pulling 49c658e on jodavies:struct-padding-2
into 4910b9a on form-dev:master.

Modern compilers align structs appropriately according to the alignment
requirements of the member types. Removing the padding reduces the size
of many of the structs, and the alignment remains the same.
@jodavies
jodavies merged commit 7ed2880 into form-dev:master Oct 7, 2025
83 checks passed
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.

2 participants