summaryrefslogtreecommitdiffstats
path: root/.github
diff options
context:
space:
mode:
authorLars Knoll <lars.knoll@qt.io>2020-09-23 19:32:24 +0200
committerLars Knoll <lars.knoll@qt.io>2020-10-07 14:57:51 +0200
commit8a7b74f6e71d6b8264f365148bf5a04db4038617 (patch)
treebe16b5d1fb3299f75fa9641f5c113db4ed3791e0 /.github
parent3807559d3779d2d6df4fb9180d2c4093ea1706ae (diff)
Optimize equality operators for string classes
Using compare() for those operators is not a good idea, as we can't shortcut comparisons if the string sizes are different. This alone made our HTML parser in QtGui around 15% slower. Don't go through QAnyStringView to implement compare() for QUtf8StringView, use QtPrivate::compareStrings() directly instead. Task-number: QTBUG-86354 Change-Id: I04869c29c9918161990dc1baf8e943b3a264ff3c Reviewed-by: Karsten Heimrich <karsten.heimrich@qt.io>
Diffstat (limited to '.github')
0 files changed, 0 insertions, 0 deletions