Reduce has dreadful performance?

John Colvin via Digitalmars-d digitalmars-d at puremagic.com
Fri Jun 19 00:52:29 PDT 2015


On Thursday, 18 June 2015 at 20:18:31 UTC, Laeeth Isharc wrote:
> 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

Just a note: if you're using PydMagic you can pass --compiler=ldc 
to %%pyd


More information about the Digitalmars-d mailing list