From f13c2a8dff2329c6692a80176262ceaaf8a6f74e Mon Sep 17 00:00:00 2001 From: Leonhard Holz Date: Tue, 12 May 2015 11:37:52 +0200 Subject: 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. --- ChangeLog | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'ChangeLog') diff --git a/ChangeLog b/ChangeLog index c998dd5..d78c626 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,14 @@ +2015-05-12 Leonhard Holz + + * 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 [BZ #18397] -- cgit v1.1