Short article on std.parallism

Andrej Mitrovic andrej.mitrovich at gmail.com
Mon May 30 22:52:07 PDT 2011


On 5/30/11, Vladimir Panteleev <vladimir at thecybershadow.net> wrote:
> 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
>

I wonder why we even have this operator in the language if we're
supposed to avoid it all the time.


More information about the Digitalmars-d-announce mailing list