About ref used for performance reasons with struct

Namespace rswhite4 at googlemail.com
Mon Feb 11 11:14:14 PST 2013


I'm a bit confused now. It's your intention to create (worst 
case) 2^n permutations of the same function for each potential 
ref parameter (which would be the same behaviour as 'auto ref') 
or that the compiler could pass big structs by ref without code 
bloat?


More information about the Digitalmars-d mailing list