This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: [patch] : Optimize search_n
- From: Paolo Carlini <pcarlini at suse dot de>
- To: chris jefferson <caj at cs dot york dot ac dot uk>
- Cc: libstdc++ <libstdc++ at gcc dot gnu dot org>
- Date: Mon, 12 Sep 2005 22:27:17 +0200
- Subject: Re: [patch] : Optimize search_n
- References: <4322FDA8.2040402@cs.york.ac.uk>
chris jefferson wrote:
>This backports the recent optimization to search_n back to so_6. The
>only major difference is that it doesn't use find_if in the predicated
>case. It never did, and to enable this would involve copying a bunch of
>framework.
>
>Tested on powerpc-darwin
>
Ok, everything seems fine, modulo a couple of trivial reformattings;
regtested ok on x86-linux too. I'm going to apply the patch to mainline,
as far as I'm concerned the last change to the algorithms for 4.1,
modulo pure bug fixes.
Paolo.