On Monday, 28 September 2015 at 11:31:33 UTC, Russel Winder wrote:
On Sat, 2015-09-26 at 14:33 +0200, anonymous via
Digitalmars-d-learn wrote:
[…]
I'm pretty sure atomicOp is faster, though.
Rough and ready anecdotal evidence would indicate that this is
a reasonable statement, by quite a long way. However a proper
benchmark is needed for statistical significance.
On the other hand std.parallelism.taskPool.reduce surely has to
be the correct way of expressing the algorithm?
It would be really great if someone knowledgable did a full
review of std.parallelism to find out the answer, hint, hint...
:)