On Saturday, 2 July 2016 at 21:23:57 UTC, Namespace wrote: > passing by value is only a good solution if your struct is > really small. It's not uncommon for optimizers to generate the same code either way regardless of what you write.