summaryrefslogtreecommitdiffstats
path: root/cmake/QtInternalTargets.cmake
diff options
context:
space:
mode:
authorEdward Welbourne <edward.welbourne@qt.io>2021-04-19 13:21:29 +0200
committerEdward Welbourne <edward.welbourne@qt.io>2021-04-23 16:50:54 +0200
commit7c65935810b30922e62bfc5d366a81d04deb5ec1 (patch)
treead88b57e0f90688471b0fbe01139b60d7b4f9746 /cmake/QtInternalTargets.cmake
parentc36f18b4497e8dd52842e10500a3bbc35513dc5e (diff)
Make zone-name part of date-time parsing a little faster
QDateTimeParser::findTimeZoneName()'s invalidZoneNameCharacter() check was using QLatin1String::contains(QChar), which converts the Latin-1 string to UTF-16 on each call, despite having pre-checked that the QChar is ASCII. So use memchr() instead. Change-Id: I011e2b4ba3be20711fc5005f62e4f9f6a392dd16 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'cmake/QtInternalTargets.cmake')
0 files changed, 0 insertions, 0 deletions