std.parallelism changes done

Russel Winder russel at russel.org.uk
Thu Mar 24 09:50:37 PDT 2011


On Thu, 2011-03-24 at 12:32 -0400, bearophile wrote:
> dsimcha:
> 
> > I tried to keep it as consistent as possible with std.algorithm.
> 
> OK. Then the question is why std.algorithm uses normal strings instead of q{} ones.

Actually the question why user strings at all, why not have a lambda
function syntax that is less verbose?

> And regarding consistency with std.algorithm, a more important factor
> is that std.algorithm.map is lazy, while you have a eager map, and the
> lazy version has lazy in the name, so the names are kind of opposite
> of std.algorithm.

Is there actually any point in having a lazy parallel map?

> > Unfortunately I don't have access to this kind of hardware except at work.
> 
> Maybe some other person in this group has access to a 8 core CPU and
> is willing to take some numbers, to create few little graphs.

I have such hardware, if someone sends me a program to execute I can run
it a few times to get a dataset.

-- 
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 russel.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: 198 bytes
Desc: This is a digitally signed message part
URL: <http://lists.puremagic.com/pipermail/digitalmars-d/attachments/20110324/07627e33/attachment.pgp>


More information about the Digitalmars-d mailing list