2 ms·
Packing a struct can reduce performance due to misaligned reads. If the compiler decides your struct needs padding it probably does.
by fleitz 15y ago
Packing a struct can reduce performance due to misaligned reads. If the compiler decides your struct needs padding it probably does.