[PATCH][libstdc++-v3 parallel mode]
Johannes Singler
singler@ira.uka.de
Wed Jul 9 13:10:00 GMT 2008
Benjamin Kosnik wrote:
>> 2008-07-08 Johannes Singler <singler@ira.uka.de>
>>
>> * include/parallel/random_shuffle.h:
>> (sequential_random_shuffle) Copy data back.
>
> OK, but this seems like the kind of thing you should really add a
> testcase for so that it doesn't regress.
Okay, so here is the first functionality test case for random_shuffle
(That's why I called it 1.cc, not after the PR). However, to trigger the
bug, a quite long sequence must be permuted, which costs time and space.
Okay?
-- Johannes
-------------- next part --------------
A non-text attachment was scrubbed...
Name: random_shuffle_copy_back_PR36729.patch
Type: text/x-patch
Size: 2743 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/libstdc++/attachments/20080709/5ff71419/attachment.bin>
More information about the Libstdc++
mailing list