This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: [PATCH] Specialize string::replace (Take2)
- From: Paolo Carlini <pcarlini at unitus dot it>
- To: ncm-nospam at cantrip dot org
- Cc: libstdc++ at gcc dot gnu dot org, bkoz at redhat dot dot com
- Date: Tue, 02 Apr 2002 13:12:45 +0200
- Subject: Re: [PATCH] Specialize string::replace (Take2)
> I have reviewed the patch, it looks good to me.
> Mainline and branch.
>
> Nathan Myers
> ncm at cantrip dot org
Thanks Nathan.
Benjamin, basing on Nathan's review I'm going to commit the patch.
As you probably remember, I did not expect to work again on basic_string before 3.1, but lately became really unhappy with the difference in performance between source data specified in terms of iterators and all the other cases. It turned out to be relatively easy to fix this by way of some nice specializations, as originally envisaged by Nathan.
In case something is not ok with you, please let me know and I will revert immediately.
Ciao,
Paolo.