summaryrefslogtreecommitdiffstats
path: root/header.BSD
diff options
context:
space:
mode:
authorOlivier Goffart <ogoffart@woboq.com>2012-07-19 14:42:37 +0200
committerQt by Nokia <qt-info@nokia.com>2012-08-23 23:31:10 +0200
commitc13011829fd39661cc9e983256766c6edb88dead (patch)
treeabde4558f2adb6c7ee90b1f5115b2b9c91346edf /header.BSD
parent4f6efe16416f0222ae78ab16c0eb8085bf9c521b (diff)
Speed up QTextEngine::setBoundary
Before, setBoundary was O(N), now it is O(log N) assuming the boundaries are added in order. (splitItem might still be linear because of the call to QVector::insert) This speeds up a lot QTextEngine::addRequiredBoundaries when there is a lot of addFormats. (For example if there is a very long line with syntax highlighting) Task-number: QTBUG-8389 Change-Id: I10c9fca72343f46db24b1d4f519f7747188d4009 Reviewed-by: Lars Knoll <lars.knoll@nokia.com>
Diffstat (limited to 'header.BSD')
0 files changed, 0 insertions, 0 deletions