February 09, 2009
Weed Wrote:
> naryl �����:
> > Weed Wrote:
> >> Denis Koroskin ���������������:
> >>
> >>> And here are results (best/average of 3 runs):
> >>>
> >>> DMD2.023 - 12.492/12.576 ms (-O -inline)
> >>> DMC8.42n - 13.941/14.131 ms (-O -inline)
> >>>
> >>>
> >> Try to return from value() a class instance
> > 
> > In this case both C++ and D performance drops almost tenfold.
> 
> Hmmm. Can you show code?
Yes. It's in the attachment: http://www.digitalmars.com/webnews/newsgroups.php?art_group=digitalmars.D&article_id=83523
February 09, 2009
naryl пишет:
> Weed Wrote:
>> naryl яПНяПНяПНяПНяПН:
>>> Weed Wrote:
>>>> Denis Koroskin яПНяПНяПНяПНяПНяПНяПНяПНяПНяПНяПНяПНяПНяПНяПН:
>>>>
>>>>> And here are results (best/average of 3 runs):
>>>>>
>>>>> DMD2.023 - 12.492/12.576 ms (-O -inline)
>>>>> DMC8.42n - 13.941/14.131 ms (-O -inline)
>>>>>
>>>>>
>>>> Try to return from value() a class instance
>>> In this case both C++ and D performance drops almost tenfold.

May be performance do not fall, it become equally high?