The Lost Art of Structure Packing in C Language
The Lost Art of Structure Packing Eric S. Raymond <[email protected]> The Lost Art of Structure Packing Table of Contents Who Should Read This Article The Reason I Wrote This Article Alignment Requirements Padding Struct Alignment and Padding Bit Fields Struct Member Reordering Tricky Scalar Cases Readability and Cache Locality Other Packing Techniques Overriding Alignment Rules … Read more