GDCs emitted code is crazy fast

Iain Buclaw ibuclaw at gdcproject.org
Mon Aug 19 14:02:37 UTC 2019


On Mon, 19 Aug 2019 at 15:30, Daniel Kozák via D.gnu
<d.gnu at puremagic.com> wrote:
>
> 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.
>

Surely LTO solves the cross-module inlining problem?

-- 
Iain



More information about the D.gnu mailing list