Slow performance compared to C++, ideas?
finalpatch
fengli at gmail.com
Thu May 30 20:14:45 PDT 2013
Hi Andrei,
Making all methods final helps a little bit, but not by much (4x
slower to 3.8x slower). It is really strange because I didn't
spent any time optimizing either the D version or the C++
version, but it appears C++ is just fast by default.
On Friday, 31 May 2013 at 02:56:25 UTC, Andrei Alexandrescu wrote:
> On 5/30/13 9:26 PM, finalpatch wrote:
>> https://dl.dropboxusercontent.com/u/974356/raytracer.d
>> https://dl.dropboxusercontent.com/u/974356/raytracer.cpp
>
> Manu's gonna love this one: make all methods final.
>
> Andrei
More information about the Digitalmars-d
mailing list