Slow performance compared to C++, ideas?

Joseph Rushton Wakeling joseph.wakeling at webdrake.net
Sun Jun 2 02:16:39 PDT 2013


On 06/01/2013 04:58 PM, finalpatch wrote:
> However I retested on a windows 7 machine with GDC compiler and the results were
> very different.
> 
> orignal: 545ms
> * the first 2 optimizations which helped the most on OSX with LDC has almost
> zero effect
> * hand unroll overloaded vector arithmetic operators - 280ms (265ms improvment)
> * "final" to all class methods - 200ms (80ms improvment)

What flags were you using with each compiler?



More information about the Digitalmars-d mailing list