In game development we often want to reduce the amount of memory that is allocated on the heap. One technique is to use value types like structs that can be stored on the stack instead of the heap. But surprisingly the simple act of referencing a struct by an interface can lead to memory allocations and poor performance.