Author: grhoten
Date: 2007-12-28 12:08:41 -0800 (Fri, 28 Dec 2007)
New Revision: 23138
Modified:
icu/trunk/source/i18n/ucol.cpp
icu/trunk/source/i18n/ucol_imp.h
Log:
ticket:6112: Minor performance enhancement for strcoll with strings that have common prefixes. Turn a few constants into real constants. The more common switch cases should be checked sooner (surrogates aren't that common as shown by collperf). Move ucol_cloneBinary closer to the other clone methods for legibility reasons.
See: http://bugs.icu-project.org/trac/changeset/23138
|