Skip to content

urldata: move smaller fields down in connectdata struct#9280

Closed
bagder wants to merge 1 commit intomasterfrom
bagder/connectdata-sort
Closed

urldata: move smaller fields down in connectdata struct#9280
bagder wants to merge 1 commit intomasterfrom
bagder/connectdata-sort

Conversation

@bagder
Copy link
Copy Markdown
Member

@bagder bagder commented Aug 8, 2022

By (almost) sorting the struct fields in connectdata in a decending size
order, having the single char ones last, we reduce the number of holes
in the struct and thus the amount of storage needed.

By (almost) sorting the struct fields in connectdata in a decending size
order, having the single char ones last, we reduce the number of holes
in the struct and thus the amount of storage needed.
@bagder bagder added the tidy-up label Aug 8, 2022
@bagder bagder closed this in 15f7fea Aug 8, 2022
@bagder bagder deleted the bagder/connectdata-sort branch August 8, 2022 17:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Development

Successfully merging this pull request may close these issues.

1 participant