Performance problem in reverse algorithm
David Nadlinger via digitalmars-d-ldc
digitalmars-d-ldc at puremagic.com
Sat Oct 11 13:02:18 PDT 2014
On Monday, 25 August 2014 at 18:04:02 UTC, Fool wrote:
> Introducing pragma(LDC_never_inline) slightly improves
> execution time of the ldc result to 5.4s. Still, this is more
> than three times slower than the fast version produced by
> clang++.
I just tested this, and on the machine I ran this on the code LDC
produces with inlining disabled is just as fast as the one
produced by Clang.
---
$ ldc2 -version
LDC - the LLVM D compiler (c8b9f6):
based on DMD v2.066 and LLVM 3.5.0
Default target: x86_64-unknown-linux-gnu
Host CPU: corei7-avx
[…]
$ clang++ --version
clang version 3.5.0 (tags/RELEASE_350/final)
Target: x86_64-unknown-linux-gnu
Thread model: posix
---
David
More information about the digitalmars-d-ldc
mailing list