aboutsummaryrefslogtreecommitdiff
path: root/inet/htons.c
diff options
context:
space:
mode:
authorWilco Dijkstra <wdijkstr@arm.com>2014-10-24 16:12:12 +0000
committerWilco Dijkstra <wdijkstr@arm.com>2014-10-24 16:12:12 +0000
commite80514b5a87c86a92352ce526c4b9db85f2a242c (patch)
treeeef102c72f8f43c86bbfc67b8343a6cf555bc47c /inet/htons.c
parent6e46de42fe1695818a410a7b86d26be8b1527524 (diff)
downloadglibc-e80514b5a87c86a92352ce526c4b9db85f2a242c.zip
glibc-e80514b5a87c86a92352ce526c4b9db85f2a242c.tar.gz
glibc-e80514b5a87c86a92352ce526c4b9db85f2a242c.tar.bz2
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 'inet/htons.c')
0 files changed, 0 insertions, 0 deletions