[Date Prev][Date Next]
Re: structure packing, alignment, etc.
Luke Howard writes:
> My inclination is towards maintainability over space. Others may
> disagree of course.
AOL. But for rearranging structs, that'll often just amount to a
few extra comments like "this member relates to that one".
However, for saving space, take a look at integer types. Many longs
only need to be 32-bit (ber_int_t) or even int. Including ber_tag_t.
Though many are used in ways which would need work-arounds if the type
was changed - like passing pointers to them to some function.