Reduce has dreadful performance?

Laeeth Isharc via Digitalmars-d digitalmars-d at puremagic.com
Thu Jun 18 13:18:30 PDT 2015


On Thursday, 18 June 2015 at 18:55:25 UTC, Russel Winder wrote:
> On Thu, 2015-06-18 at 10:46 +0000, Ilya Yaroshenko via 
> Digitalmars-d wrote:
>> 
> […]
>> Looks like you forgot optimisation troika "-O -inline -release"
>> 
>
> Don't I feel stupid :-)
>
> Thanks to all for quick answers, most helpful.
>
> Now I get
>
> Loop: 3.14s
> Reduce 1: 4.76s
> Reduce 2: 5.12s
>
> This is DMD 2.067
>
> Anyone know how to get PyD to use LDC rather than DMD in the 
> setuptools build spec?
>
> (I can't use GDC just now as it is not packaged for Fedora.)

python setup.py pydexe --compiler=ldc



More information about the Digitalmars-d mailing list