DMD is faster than LDC and GDC

Ali Çehreli via Digitalmars-d digitalmars-d at puremagic.com
Thu Nov 12 11:50:48 PST 2015


I would love to be convinced. :) Can someone come up with a reduced 
example please?

On 11/12/2015 03:59 AM, Daniel Kozak wrote:

 >      for (i=0; i < 1000000; ++i) {
 >          fmttable(table);
 >      }

I think what we are seeing here is more due to the unused side-effect in 
the loop, where compiling with -w fails compilation:

Warning: calling deneme.fmttable without side effects discards return 
value of type string, prepend a cast(void) if intentional

Ali



More information about the Digitalmars-d mailing list