diff options
author | Wilco Dijkstra <wdijkstr@arm.com> | 2018-12-27 14:56:23 +0000 |
---|---|---|
committer | Wilco Dijkstra <wdijkstr@arm.com> | 2018-12-27 14:56:23 +0000 |
commit | 5289f1f56b7174da6b036d24a7626d9cd658fb01 (patch) | |
tree | 4d91f4f0319dba42323b1dbe1b9a241aa871c47e /misc/mincore.c | |
parent | ba4b8fab20d52e4c3c52fcff805c77219a9e8b5e (diff) | |
download | glibc-5289f1f56b7174da6b036d24a7626d9cd658fb01.tar.gz glibc-5289f1f56b7174da6b036d24a7626d9cd658fb01.tar.xz glibc-5289f1f56b7174da6b036d24a7626d9cd658fb01.zip |
Improve bench-strlen
The current bench-strlen compares against a slow byte-oriented strlen which is not useful given it's too easy to beat. Remove it and compare against the generic C strlen version and memchr. * benchtests/bench-strlen.c (generic_strlen): New function. (memchr_strlen): New function.
Diffstat (limited to 'misc/mincore.c')
0 files changed, 0 insertions, 0 deletions