Slow performance compared to C++, ideas?

Joseph Rushton Wakeling joseph.wakeling at webdrake.net
Sun Jun 2 08:59:28 PDT 2013


On 06/02/2013 02:26 PM, finalpatch wrote:
> IIRC -inline is a DMD specific switch. Adding this to gdc command line
> produces this:
> 
> gdc.exe: error: unrecognized command line option '-inline'

GDC and LDC both have their own equivalent flags -- for GDC it's
-finline-functions (which as Iain says is already covered by -O3), for LDC it's
-enable-inlining.

It probably won't make any difference for LDC either with -O3 enabled, but might
be worth checking.



More information about the Digitalmars-d mailing list