Performance impact of packing on alignment and padding
Ascertain the performance impact of packing struct members into bitfields, which alters native alignment and padding and introduces implicit bit-shift and masking operations on access.
Sponsor
References
Yet, it is not clear a priori what performance impact the padding has.
— An extension of C++ with memory-centric specifications for HPC to reduce memory footprints and streamline MPI development
(2406.06095 - Radtke et al., 10 Jun 2024) in Section 3.1 (Memory compactification), Impact paragraph