diff options
author | Maxim Kuvyrkov <maxim@codesourcery.com> | 2012-05-28 22:46:07 -0700 |
---|---|---|
committer | Maxim Kuvyrkov <maxim@codesourcery.com> | 2012-08-21 18:07:47 -0700 |
commit | bcca089526c6859e775243731037a469aec3065c (patch) | |
tree | 646370482233fa52fcb5311b066f65fef2946d84 /ChangeLog | |
parent | 99677e575504ec526546501b1fdb86221493768a (diff) | |
download | glibc-bcca089526c6859e775243731037a469aec3065c.tar glibc-bcca089526c6859e775243731037a469aec3065c.tar.gz glibc-bcca089526c6859e775243731037a469aec3065c.tar.bz2 glibc-bcca089526c6859e775243731037a469aec3065c.zip |
Micro-optimize critical path of strstr, strcase and memmem.
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -1,5 +1,11 @@ 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com> + * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default. + (two_way_short_needle): Use it. + * string/{strstr.c, strcasestr.c} (AVAILABLE1_USES_J): Define. + +2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com> + * string/str-two-way.h (two_way_short_needle): Use pointers instead of array references. * string/strcasestr.c (TOLOWER): Make side-effect safe. |