© 2026 LinearBytes Inc.
Search posts, tags, users, and pages
Ratnesh Maurya
Reorder the fields in a Go struct and the size changes — without changing the data it holds. A bool next to an int64 wastes 7 bytes of padding. Across 10 million allocations, that's 67MB of memory you
No responses yet.