Ideas for Phobos., u++ STL speed comparison

Andrei Alexandrescu SeeWebsiteForEmail at erdani.org
Fri Mar 16 07:26:18 PDT 2012


On 3/16/12 8:39 AM, Jay Norwood wrote:
> On Friday, 16 March 2012 at 13:20:39 UTC, Jay Norwood wrote:
>
> btw, the u++ page claims in the link below to be faster than D by 70% on
> some operations, which they attribute to their STL rewrite. Maybe
> someone should take a look at what they've done. Or maybe this
> comparison is out of date...
>
> http://www.ultimatepp.org/www$uppweb$vsd$en-us.html

The test uses a specific data structure, an indexed contiguous array. To 
conclude from here that C++ is faster than D is quite a stretch.

Andrei


More information about the Digitalmars-d mailing list