]> sourceware.org Git - glibc.git/commit
This patch improves strcat performance by using strlen and strcpy. Strlen has a fast C
authorWilco Dijkstra <wdijkstr@arm.com>
Fri, 24 Oct 2014 16:08:42 +0000 (16:08 +0000)
committerWilco Dijkstra <wdijkstr@arm.com>
Fri, 24 Oct 2014 16:08:42 +0000 (16:08 +0000)
commit6e46de42fe1695818a410a7b86d26be8b1527524
treecb94f4c31ba74df526bffa1b6ca0713e22a0fa53
parent6a9ad2faee48c5a9befd5ad6af79df37e4ea5436
This patch improves strcat performance by using strlen and strcpy. Strlen has a fast C
implementation, so this improves performance even on targets which don't have an optimized
strlen and strcpy - it is 25% faster in bench-strcat. On targets which don't provide an
optimized strcat but which do have an optimized strlen and strcpy, performance gain is > 2x.
ChangeLog
string/strcat.c
This page took 0.038866 seconds and 5 git commands to generate.