|structure layout in C email@example.com (1992-05-11)|
|Re: structure layout in C firstname.lastname@example.org (1992-05-13)|
|Re: structure layout in C email@example.com (1992-05-13)|
|Re: structure layout in C firstname.lastname@example.org (1992-05-15)|
|From:||email@example.com (Stavros Macrakis)|
|Organization:||OSF Research Institute|
|Date:||Wed, 13 May 1992 00:42:10 GMT|
In article 92-05-066 John writes:
[Every compiler I've ever seen aligns each field on its natural
boundary ... As I recall, ANSI specifically forbids reordering
fields to pack them in better.
Yes, so in general you have to choose between readability and good
packing. As `natural boundaries' become larger, this becomes more
important. Ah, the marvels of C.
Return to the
Search the comp.compilers archives again.