[PATCH] Improve memccpy performance
Wilco Dijkstra
wdijkstr@arm.com
Thu Jan 15 14:28:00 GMT 2015
> Richard Earnshaw wrote:
> 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.
If GLIBC inlines mempcpy like I proposed then it would be reasonable
to use mempcpy here as it results in exactly the same code.
Wilco
More information about the Libc-alpha
mailing list