In my impression, I seem read something like "the property in a class should be declared to fit something(like 8 byte)", the idea is something like that:
class A{
int a;
int b;
float c;
};
instead of
class A{
int a;
float c;
int b;
};
because 2 int together can fit 8 byte.
But I forgot where I got the idea, I even forgot the main idea about it, is that reasonable?