This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: Remove algo logic duplication Round 3
- From: Paolo Carlini <paolo dot carlini at oracle dot com>
- To: libstdc++ at gcc dot gnu dot org, Marc Glisse <marc dot glisse at inria dot fr>
- Cc: chris at bubblescope dot net
- Date: Sun, 29 Sep 2013 13:26:18 -0500
- Subject: Re: Remove algo logic duplication Round 3
- Authentication-results: sourceware.org; auth=none
- References: <52409F6F dot 7040609 at gmail dot com> <alpine dot DEB dot 2 dot 10 dot 1309232317070 dot 4088 at laptop-mg dot saclay dot inria dot fr> <alpine dot DEB dot 2 dot 10 dot 1309290031480 dot 4104 at laptop-mg dot saclay dot inria dot fr> <89075a9b-c178-4fc9-ab16-8b38f1846104 at email dot android dot com> <alpine dot DEB dot 2 dot 10 dot 1309292043100 dot 4803 at laptop-mg dot saclay dot inria dot fr>
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