D 50% slower than C++. What I'm doing wrong?

Joseph Rushton Wakeling joseph.wakeling at webdrake.net
Sat Apr 14 19:20:22 PDT 2012


On 14/04/12 23:03, q66 wrote:
> He also uses a class. And -noboundscheck should be automatically induced by
> -release.

Ahh, THAT probably explains why some of my numerical code is so markedly 
different in speed when compiled using DMD with or without the -release switch. 
  It's a MAJOR difference -- between code taking say 5min to run, compared to 
half an hour or more.


More information about the Digitalmars-d-learn mailing list