]> git.ipfire.org Git - thirdparty/glibc.git/commit - locale/C-collate.c
Improve strcoll with strdiff.
authorLeonhard Holz <leonhard.holz@web.de>
Tue, 12 May 2015 09:37:52 +0000 (11:37 +0200)
committerOndřej Bílka <neleai@seznam.cz>
Tue, 12 May 2015 09:37:52 +0000 (11:37 +0200)
commitf13c2a8dff2329c6692a80176262ceaaf8a6f74e
treedd2443fba95dd55830d0d0e745a055ef3981c506
parent34cb304e5a6df706e186d504b69af974bfc15a2f
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
locale/C-collate.c
locale/categories.def
locale/langinfo.h
locale/localeinfo.h
locale/programs/ld-collate.c
string/strcoll_l.c
wcsmbs/wcscoll_l.c