diff options
author | Leonhard Holz <leonhard.holz@web.de> | 2015-05-12 11:37:52 +0200 |
---|---|---|
committer | Ondřej Bílka <neleai@seznam.cz> | 2015-05-12 11:37:52 +0200 |
commit | f13c2a8dff2329c6692a80176262ceaaf8a6f74e (patch) | |
tree | dd2443fba95dd55830d0d0e745a055ef3981c506 /ChangeLog | |
parent | 34cb304e5a6df706e186d504b69af974bfc15a2f (diff) | |
download | glibc-f13c2a8dff2329c6692a80176262ceaaf8a6f74e.tar.gz glibc-f13c2a8dff2329c6692a80176262ceaaf8a6f74e.tar.xz glibc-f13c2a8dff2329c6692a80176262ceaaf8a6f74e.zip |
Improve strcoll with strdiff.
This patch improves strcoll hot case by finding first byte that mismatches. That is in likely case enough to determine comparison result.
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog index c998dd59b8..d78c626b25 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,14 @@ +2015-05-12 Leonhard Holz <leonhard.holz@web.de> + + * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE. + * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list. + * locale/localeinfo.h: Add enum collation_encoding_type. + * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit. + * programs/ld-collate.c (collate_output): Add encoding type info. + * string/strcoll_l.c (STRDIFF): New function. + * (STRCOLL): Use STRDIFF to skip over equal prefix. + * wcsmbs/wcscoll_l.c: Define STRDIFF. + 2015-05-11 Joseph Myers <joseph@codesourcery.com> [BZ #18397] |