Reduce has dreadful performance?

Russel Winder via Digitalmars-d digitalmars-d at puremagic.com
Thu Jun 18 07:04:36 PDT 2015


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.)

-- 
Russel.
=============================================================================
Dr Russel Winder      t: +44 20 7585 2200   voip: sip:russel.winder at ekiga.net
41 Buckmaster Road    m: +44 7770 465 077   xmpp: russel at winder.org.uk
London SW11 1EN, UK   w: www.russel.org.uk  skype: russel_winder
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: This is a digitally signed message part
URL: <http://lists.puremagic.com/pipermail/digitalmars-d/attachments/20150618/66ea25dc/attachment.sig>


More information about the Digitalmars-d mailing list