Slow performance compared to C++, ideas?

Joseph Rushton Wakeling joseph.wakeling at webdrake.net
Fri May 31 03:58:34 PDT 2013


On 05/31/2013 08:34 AM, Manu wrote:
> What's taking the most time?
> The lighting loop is so template-tastic, I can't get a feel for how fast that
> loop would be.

Hah, I found this out the hard way recently -- have been doing some experimental
reworking of code where some key inner functions were templatized, and it had a
nasty effect on performance.  I'm guessing it made it impossible for the
compilers to inline these functions :-(



More information about the Digitalmars-d mailing list