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] Improve memccpy performance


On 14/01/15 18:14, Roland McGrath wrote:
>> +      return memcpy (dest, src, n) + n;
> 
> Use __mempcpy here.
> 
That will be worse if mempcpy just calls memcpy; which is what the C
library implementation does.

R.


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