This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Remove algo logic duplication Round 3



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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]