diff options
author | Wilco Dijkstra <wdijkstr@arm.com> | 2014-10-24 16:12:12 +0000 |
---|---|---|
committer | Wilco Dijkstra <wdijkstr@arm.com> | 2014-10-24 16:12:12 +0000 |
commit | e80514b5a87c86a92352ce526c4b9db85f2a242c (patch) | |
tree | eef102c72f8f43c86bbfc67b8343a6cf555bc47c /ChangeLog | |
parent | 6e46de42fe1695818a410a7b86d26be8b1527524 (diff) | |
download | glibc-e80514b5a87c86a92352ce526c4b9db85f2a242c.tar.gz glibc-e80514b5a87c86a92352ce526c4b9db85f2a242c.tar.xz glibc-e80514b5a87c86a92352ce526c4b9db85f2a242c.zip |
This patch improves strncat performance by using strlen. Strlen has a fast C implementation, so
this will improve performance even on targets which don't have an optimized strlen. It is about twice as fast as the original strncat in bench-strncat.
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog index f73c55e5d4..40e294b7d4 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,9 @@ 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com> + * string/strncat.c (strncat): Improve performance by using strlen. + +2014-10-24 Wilco Dijkstra <wdijkstr@arm.com> + * string/strcat.c (strcat): Improve performance by using strlen/strcpy. 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com> |