aboutsummaryrefslogtreecommitdiff
path: root/stdlib/tst-tls-atexit.c
diff options
context:
space:
mode:
authorWilco Dijkstra <wdijkstr@arm.com>2015-07-13 12:38:12 +0100
committerWilco Dijkstra <wdijkstr@arm.com>2015-07-13 12:38:12 +0100
commitc435989f52204703d524f467c830dc363439e532 (patch)
treecd0a248d2790e747cd3d0fb103184dd38f295a81 /stdlib/tst-tls-atexit.c
parent70249b57e1e5f8252948fd0ab46773ad20216e23 (diff)
downloadglibc-c435989f52204703d524f467c830dc363439e532.zip
glibc-c435989f52204703d524f467c830dc363439e532.tar.gz
glibc-c435989f52204703d524f467c830dc363439e532.tar.bz2
Optimize the strlen implementation by using a page cross check and a fast check
for nul bytes which reverts to separate loop when a non-ASCII char is encountered. Speedup on test-strlen is ~10%, long ASCII strings are processed ~60% faster, and on random tests it is ~80% better.
Diffstat (limited to 'stdlib/tst-tls-atexit.c')
0 files changed, 0 insertions, 0 deletions