Skip to content

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

Locked Answered by xiegeo
floppyzedolfin asked this question in Q&A

You must be logged in to vote

TLDR: All pointers should come first to optimize GC.

Replies: 8 comments 8 replies

You must be logged in to vote
1 reply
@floppyzedolfin

You must be logged in to vote
2 replies
@frederikhors

@floppyzedolfin

You must be logged in to vote
0 replies

You must be logged in to vote
3 replies
@frederikhors

@butuzov

butuzov Nov 12, 2021
Collaborator

@zvonkok

You must be logged in to vote
1 reply
@dnswd

Answer selected by floppyzedolfin

You must be logged in to vote
0 replies

You must be logged in to vote
1 reply
@ldez

ldez Dec 31, 2024
Maintainer

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet