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

Reply via email to