GDCs emitted code is crazy fast
Daniel Kozák
kozzi11 at gmail.com
Mon Aug 19 13:25:06 UTC 2019
On Monday, 19 August 2019 at 10:54:09 UTC, Iain Buclaw wrote:
>
> Optimal code sometimes needs a bit of coercing. You shouldn't
> need to pass weird options though.
Yes I agree, generaly one is good with -O and -(f)release and
sometimes with disable boundscheking, but with ldc there has been
some issue with cross module inlining, so I need to use
-enable-cross-module-inlining [1][2][3] to improve speed in past,
but maybe it is not needed anymore.
[1] https://github.com/ldc-developers/ldc/issues/2552
[2] https://github.com/ldc-developers/ldc/issues/2182
[3] https://github.com/ldc-developers/ldc/pull/2738
More information about the D.gnu
mailing list