From c435989f52204703d524f467c830dc363439e532 Mon Sep 17 00:00:00 2001 From: Wilco Dijkstra Date: Mon, 13 Jul 2015 12:38:12 +0100 Subject: 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. --- ChangeLog | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'ChangeLog') diff --git a/ChangeLog b/ChangeLog index 84f038c893..df8c19eeab 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2015-07-13 Wilco Dijkstra + + * sysdeps/aarch64/strlen.S (strlen): Optimize strlen. + 2015-07-11 H.J. Lu * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace -- cgit 1.4.1