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)