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, AArch64] Add optimized strrchr


On 07/01/15 11:18, Marcus Shawcroft wrote:
> On 7 January 2015 at 10:47, Richard Earnshaw <rearnsha@arm.com> wrote:
>> Similar to the strchr implementation, attached is an implementation of
>> strrchr.  Unlike the generic C version, this finds the last instance of
>> a string without having to repeatedly call strchr.  This gives notable
>> performance improvements when there is more than one instance of the
>> target character in the string (something the benchmarks never measure,
>> by the way).
>>
>> OK?
>>
>> R.
>>         sysdeps/aarch64/strrchr.S: New file.
> 
> OK, can you add a news entry for this one aswell?
> 
> /Marcus
> 

Done.  I've also moved the news entry for strchrnul under the 2.21
release info, since that was not in 2.20.

R.


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