Skip to content

Can you help me understand "fieldalignment: struct with 40 pointer bytes could be 8" ? #2298

Answered by xiegeo
floppyzedolfin asked this question in Q&A
Discussion options

You must be logged in to vote

TLDR: All pointers should come first to optimize GC.

Replies: 7 comments 8 replies

Comment options

You must be logged in to vote
1 reply
@floppyzedolfin
Comment options

Comment options

You must be logged in to vote
2 replies
@frederikhors
Comment options

@floppyzedolfin
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
3 replies
@frederikhors
Comment options

@butuzov
Comment options

butuzov Nov 12, 2021
Collaborator

@zvonkok
Comment options

Comment options

You must be logged in to vote
1 reply
@dnswd
Comment options

Answer selected by floppyzedolfin
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@ldez
Comment options

ldez Dec 31, 2024
Maintainer

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet