Reduce has dreadful performance?

Laeeth Isharc via Digitalmars-d digitalmars-d at puremagic.com
Thu Jun 18 13:20:32 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

GDC doesn't work anyway, I think, because of the shared library 
problem.

would be great to have a dub setup so one can build in a standard 
way without using python.



More information about the Digitalmars-d mailing list