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. --- locale/categories.def | 1 + 1 file changed, 1 insertion(+) (limited to 'locale/categories.def') diff --git a/locale/categories.def b/locale/categories.def index a8dda53007..045489d741 100644 --- a/locale/categories.def +++ b/locale/categories.def @@ -58,6 +58,7 @@ DEFINE_CATEGORY DEFINE_ELEMENT (_NL_COLLATE_COLLSEQMB, "collate-collseqmb", std, wstring) DEFINE_ELEMENT (_NL_COLLATE_COLLSEQWC, "collate-collseqwc", std, wstring) DEFINE_ELEMENT (_NL_COLLATE_CODESET, "collate-codeset", std, string) + DEFINE_ELEMENT (_NL_COLLATE_ENCODING_TYPE, "collate-encoding-type", std, word) ), NO_POSTLOAD) -- cgit 1.4.1