Returning large structs == bad

bearophile bearophileHUGS at lycos.com
Fri Feb 15 05:53:56 PST 2008


downs:
>f I change all my opFoo's to opFooAssign's, and use those instead, speed goes up from 16s to 13s; indicating that returning large structs (12 bytes/vector) causes a significant speed hit.<

Tim Burrell:
> Yeah, I was about to say the same.  See here:

Yep, see my TinyVector ;-)

Bye,
bearophile



More information about the Digitalmars-d mailing list