diff options
author | Wilco Dijkstra <wdijkstr@arm.com> | 2014-10-24 16:08:42 +0000 |
---|---|---|
committer | Wilco Dijkstra <wdijkstr@arm.com> | 2014-10-24 16:08:42 +0000 |
commit | 6e46de42fe1695818a410a7b86d26be8b1527524 (patch) | |
tree | cb94f4c31ba74df526bffa1b6ca0713e22a0fa53 /benchtests/cos-inputs | |
parent | 6a9ad2faee48c5a9befd5ad6af79df37e4ea5436 (diff) | |
download | glibc-6e46de42fe1695818a410a7b86d26be8b1527524.tar.gz glibc-6e46de42fe1695818a410a7b86d26be8b1527524.tar.xz glibc-6e46de42fe1695818a410a7b86d26be8b1527524.zip |
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.
Diffstat (limited to 'benchtests/cos-inputs')
0 files changed, 0 insertions, 0 deletions