Slow performance compared to C++, ideas?

Andrei Alexandrescu SeeWebsiteForEmail at erdani.org
Sat Jun 1 06:36:45 PDT 2013


On 6/1/13 2:54 AM, finalpatch wrote:
> I actually don't feel final by default is a big deal at all. Of all the
> factors that caused the poor performance that was discussed in the
> original post, final is the least significant one, only caused 5% to %7
> of a speed penalty in a heavily recursive and looping program. Because
> of this I think its effect in less demanding scenario is negligible.
> Those who really needs the extra speed can simply add final to their
> methods in the hot path.

Would be great to collect a summary of the changes and their benefits.

Thanks finalpatch and everyone else for this work.


Andrei



More information about the Digitalmars-d mailing list