diff options
author | Konstantin Ritt <ritt.ks@gmail.com> | 2011-10-18 19:12:19 +0200 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-02-21 22:31:00 +0100 |
commit | 34be7e16255e7480bd0a8de3326d5173711de5da (patch) | |
tree | c0e6993904040d0bcbcc61c4ef6ec69d0b33ea0c /util/unicode/main.cpp | |
parent | 432a75604819d9ed4143036c7cafa72106c768e0 (diff) |
optimize handling of surrogate pairs in toLower()/toUpper()
high surrogate part never changes on upper/lower casing
(which tested explicitly in the qunicodetables generator),
thus we can copy the high surrogate part in the loop
Change-Id: I24642b35eea7596c6ad494f2a7bc670f10b759a8
Merge-request: 70
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
Reviewed-by: Olivier
Reviewed-by: Olivier Goffart <ogoffart@woboq.com>
Diffstat (limited to 'util/unicode/main.cpp')
0 files changed, 0 insertions, 0 deletions