Remove algo logic duplication Round 3

Paolo Carlini paolo.carlini@oracle.com
Sun Sep 29 18:26:00 GMT 2013



Hi,

Marc Glisse <marc.glisse@inria.fr> ha scritto:
>On Sun, 29 Sep 2013, Paolo Carlini wrote:
>
>> Marc Glisse <marc.glisse@inria.fr> ha scritto:
>>> (we also perform 2 comparisons where one should be enough, but
>that's a
>>> different issue)
>>
>> Quite annoying. How does it relate to Chris' fix?
>
>I don't think it does, Chris' fix is in quicksort, which only executes
>on
>larger arrays.

Ok. Let's add Chris in CC anyway, in case he has more generally something to say.It's hard to argue that it makes sense to do two comparisons when 2 items are involved..

Thanks,
Paolo



More information about the Libstdc++ mailing list