This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc 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: [PATCH] Optimize strstr, strcasestr and memmem


On 5/30/2012 4:28 AM, Maxim Kuvyrkov wrote:
> On 22/05/2012, at 7:49 AM, Carlos O'Donell wrote:
> 
>> On Thu, May 17, 2012 at 5:22 PM, Maxim Kuvyrkov <maxim@codesourcery.com> wrote:
>>> This patch optimizes strstr, strcasestr and memmem functions.  This patch speeds up strstr, strcase and memmem functions with short needle inputs by more than 2 times on i686, x86_64, MIPS and other architectures.
> 
> Carlos,
> 
> I appreciate you reviewing the code.  I've reworked the patches and will post them in separate sub-threads.  Below are comments and notes on the change as a whole.

Maxim,

I plan to review each of these patches, but we are now into the 2.16 freeze so we can't check them in now.

Could you please file a BZ (one covering all of them) for this and mark it target milestone 2.17?

This way we can check these in when 2.17 is open for development at the end of the month.

Cheers,
Carlos.
-- 
Carlos O'Donell
Mentor Graphics / CodeSourcery
carlos_odonell@mentor.com
carlos@codesourcery.com
+1 (613) 963 1026


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