Returning large structs == no difference

downs default_357-line at yahoo.de
Fri Feb 15 07:12:42 PST 2008


downs wrote:
> downs wrote:
>> I rewrote my version for freestanding functions .. 9.5s :confused: Why do struct members (which are inlined, I checked) take such a speed hit?
>>
> 
> My version had a bug. x__X
> 
> The correct version takes 11.2s again.
> 
>  --downs

If I fix the bug, the 'external function' version is exactly as fast as the opFoo version.

Sorry.

I think the 8s version posted earlier has a similar bug.

Look at the output. :)

 -- downs



More information about the Digitalmars-d mailing list