On Monday, 19 August 2019 at 14:02:37 UTC, Iain Buclaw wrote:
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?

I guess it would, but I haven't try it wit LTO-enabled phobos, so it does not seems to work for me [1].

[1] https://github.com/ldc-developers/ldc/issues/2182#issuecomment-343154497



Reply via email to