This patch improves strncat performance by using strlen. Strlen has a fast C implemen...
authorWilco Dijkstra <wdijkstr@arm.com>
Fri, 24 Oct 2014 16:12:12 +0000 (16:12 +0000)
committerWilco Dijkstra <wdijkstr@arm.com>
Fri, 24 Oct 2014 16:12:12 +0000 (16:12 +0000)
commite80514b5a87c86a92352ce526c4b9db85f2a242c
treeeef102c72f8f43c86bbfc67b8343a6cf555bc47c
parent6e46de42fe1695818a410a7b86d26be8b1527524
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.
ChangeLog
string/strncat.c