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