pi benchmark on ldc and dmd

KennyTM~ kennytm at gmail.com
Tue Aug 2 12:55:15 PDT 2011


On Aug 2, 11 20:00, Jason House wrote:
> The post says they did "dmd -O". They did not mention "-inline -noboundscheck -release". There may be extra flags that are required.
>
> Walter Bright Wrote:
>
>> http://www.reddit.com/r/programming/comments/j48tf/how_is_c_better_than_d/c29do98
>>
>> Anyone care to examine the assembler output and figure out why?
>

Let dmd have an '-O9999' flag to as a synonym of '-O -inline 
-noboundscheck -release' so people won't miss the extra flags in 
benchmarks. [/joke]


More information about the Digitalmars-d mailing list