Another performance problem

Kozzi kozzi11 at gmail.com
Sun Dec 8 15:35:41 PST 2013


On Saturday, 7 December 2013 at 01:25:30 UTC, bearophile wrote:
> I have found another case where the code compiled with LDC2 is 
> slower than the same code compiled with dmd. This time the 
> performance difference seems very large. The D code (I compile 
> it on 32 bit Windows):
>
> http://rosettacode.org/wiki/Self-referential_sequence#Faster_Low-level_Version
>
> (It's the third D entry).
>
> The dmd compile runs in about 1.22 seconds on my PC. The ldc2 
> compile is very slow.
>
> I compile using:
>
> dmd -O -release -inline -noboundscheck 
> self_referential_sequence3.d
>
> ldmd2 -O -release -inline -noboundscheck 
> self_referential_sequence3.d
> +
> strip
>
> Bye,
> bearophile
In my case ldmd is faster than dmd


More information about the digitalmars-d-ldc mailing list