About ref used for performance reasons with struct
Namespace
rswhite4 at googlemail.com
Mon Feb 11 08:31:23 PST 2013
> I'm not sure creating two versions of each function will fly
> well with Walter. Actually, you say *two* are needed, but
> that's for a function with one struct parameter; it's more
> 2^(number of structs parameters) versions you'd need in the
> general case.
That's how 'auto ref' currently works. But I do not think that
code bloat was the intention of deadalnix. Quite the contrary.
More information about the Digitalmars-d
mailing list