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 /locale/langinfo.h | |
parent | 34cb304e5a6df706e186d504b69af974bfc15a2f (diff) | |
download | glibc-f13c2a8dff2329c6692a80176262ceaaf8a6f74e.zip glibc-f13c2a8dff2329c6692a80176262ceaaf8a6f74e.tar.gz glibc-f13c2a8dff2329c6692a80176262ceaaf8a6f74e.tar.bz2 |
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 'locale/langinfo.h')
-rw-r--r-- | locale/langinfo.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/locale/langinfo.h b/locale/langinfo.h index a565d9d..ffc5c7f 100644 --- a/locale/langinfo.h +++ b/locale/langinfo.h @@ -255,6 +255,7 @@ enum _NL_COLLATE_COLLSEQMB, _NL_COLLATE_COLLSEQWC, _NL_COLLATE_CODESET, + _NL_COLLATE_ENCODING_TYPE, _NL_NUM_LC_COLLATE, /* LC_CTYPE category: character classification. |