It is clear from the reference manual that the memory layout of struct
s is unspecified (when the repr
attribute is not used). This rule gives the compiler the possibility to pack structures tighter by reordering the fields.
What about the memory layout of tuples and tuple structs? How is it (un)specified and why?