Why is amap implemented as a member function of TaskPool?
Russel Winder via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Sat Sep 20 00:25:22 PDT 2014
On Sat, 2014-09-20 at 06:46 +0000, "Nordlöw" via Digitalmars-d-learn
wrote:
> On Thursday, 18 September 2014 at 19:49:00 UTC, Atila Neves wrote:
> > I had to roll my own parallel map today, but at least I did get
> > a nice 3x speedup.
How many cores? Is the problem a data parallel one and hence should show
linear speedup?
> Is your own parallel map public somewhere? It would be
> interesting to see it.
Particularly if it can be used to improved the code in std.parallelism.
--
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
More information about the Digitalmars-d-learn
mailing list