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 11/27] S390: Optimize strncpy and wcsncpy.


This patch introduces a 64 byte loop where the counter is increased once per 64 bytes instead of four times. The check for maxlen is also done once per 64 bytes.
This change is equivalent to the one for stpcpy.

The changelog remains the same.
Bye Stefan

Attachment: 20150706_strncpy
Description: Text document


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