Returning large structs == bad

downs default_357-line at yahoo.de
Fri Feb 15 04:18:51 PST 2008


downs wrote:
> Another interesting observation.
> 
> If 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. Still not close to the C++ version though. The weird thing is that all those ops have been inlined (or so says the assembler dump). Weird.
> 
>  --downs
Excuse me. 24 bytes.



More information about the Digitalmars-d mailing list