memory boundry alignment with stuctures
This is a Linux gcc question.
When defining a structure, do I have to be
concerned with how the variables aligned
themselves in memory? For example, if the,
if all the data types within the structure added
up to 32 bytes, would that be more efficient
then a structure of 33 bytes?
This used to be an issue ( the 16 byte memory
boundary used by Intel x86 as segments ) way
back in the dark ages, but since this is still the
age of Intel x86 processors, does memory
alignment in structures matter or no?