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 /inet/htons.c | |
parent | 6e46de42fe1695818a410a7b86d26be8b1527524 (diff) | |
download | glibc-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