optimize handling of surrogate pairs in toLower()/toUpper()
authorKonstantin Ritt <ritt.ks@gmail.com>
Fri, 12 Nov 2010 07:28:51 +0000 (10:28 +0300)
committerKonstantin Ritt <ritt.ks@gmail.com>
Mon, 29 Nov 2010 14:13:11 +0000 (17:13 +0300)
commitfcf9f6a503d7fb26464a9e1c41bdf2dd4041b3a9
tree42f4e582c06c8c5fc4c5e82c3a05481c8ff35132
parent0178b7f5429302e1ec16aac862a1aca9b3e7d768
optimize handling of surrogate pairs in toLower()/toUpper()

high surrogate part never changes on upper/lower casing
(that explicitly tested in qunicodetables generator),
so we can skip/fast-copy high surrogate parts in the loop
src/corelib/tools/qstring.cpp