Strange counter-performance in an alternative `decimalLength9` function

Basile B. b2.temp at gmx.com
Wed Feb 26 05:08:11 UTC 2020


On Wednesday, 26 February 2020 at 01:10:07 UTC, H. S. Teoh wrote:
> On Wed, Feb 26, 2020 at 12:50:35AM +0000, Basile B. via 
> Digitalmars-d-learn wrote: [...]
>> #!dmd -boundscheck=off -O -release -inline
> [...]
>
> TBH, I'm skeptical of any performance results using dmd.  I 
> wouldn't pay attention to performance numbers obtained this 
> way, and rather look at the ldmd/ldc2 numbers.

I didn't use DMD. The script line is actually interpreted by the 
IDE. It drops the compiler name and just parse the arg and pass 
them to a compiler that's defined by non overridable options. In 
my case I used LDMD (this is LDC you see, but with a DMD like 
options syntax)


More information about the Digitalmars-d-learn mailing list