On Friday, 23 December 2016 at 18:33:52 UTC, Seb wrote:
On Friday, 23 December 2016 at 18:03:54 UTC, hardreset wrote:
I get..

456ms for unconditional
505ms for conditional
268ms for assembler

So the asm is about 40% faster than the best of the alternatives. The point being that it's the generated code not the source that's the problem.

Has anyone considered using ldc for DMD release compilations?

 dmd -O -release -inline -run foo.d
138 ms, 603 μs, and 6 hnsecs

ldmd -O -release -inline -run foo.d
84 ms and 719 μs

This is indeed already done.

Reply via email to