about summary refs log tree commit diff
path: root/ChangeLog
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 /ChangeLog
parent70249b57e1e5f8252948fd0ab46773ad20216e23 (diff)
downloadglibc-c435989f52204703d524f467c830dc363439e532.tar.gz
glibc-c435989f52204703d524f467c830dc363439e532.tar.xz
glibc-c435989f52204703d524f467c830dc363439e532.zip
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 'ChangeLog')
-rw-r--r--ChangeLog4
1 files changed, 4 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 84f038c893..df8c19eeab 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
+
+	* sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
+
 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
 
 	* stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace