<i>Align your struct members</i><p>On modern CPUs, cache misses take so long and unaligned access is nearly free in comparison, so that padding can become detrimental. Of course ordering members so that they&#x27;re all aligned is the best option, but if that can&#x27;t be done, it&#x27;s better to have misaligned and pack more in the same space than leave wasted padding.