Short article on std.parallism
Vladimir Panteleev
vladimir at thecybershadow.net
Mon May 30 13:41:15 PDT 2011
On Mon, 30 May 2011 04:18:14 +0300, Jeremy Wright <jeremy at codestrokes.com>
wrote:
> I implemented bucket sort in D to demonstrate how easy it is to use
> std.parallelism. I welcome any feedback.
One thing: I would suggest to avoid using ~= in a tight loop, as it is
rather slow. Using std.array.appender for the first loop and
std.array.join for the second one should be much faster.
--
Best regards,
Vladimir mailto:vladimir at thecybershadow.net
More information about the Digitalmars-d-announce
mailing list