[PATCH 4/7] wcsmbs: optimize wcscpy

Florian Weimer fweimer@redhat.com
Mon Feb 11 08:33:00 GMT 2019


* Adhemerval Zanella:

> This patch rewrites wcscpy using wcslen and wmemcpy.  This is similar
> to the optimization done on strcpy by b863d2bc4d.
>
> Checked on x86_64-linux-gnu.
>
> 	* wcsmbs/wcscpy.c (__wcpcpy): Rewrite using wcslen and wmemcpy.

Looks okay.  Thanks.

Florian



More information about the Libc-alpha mailing list