diff options
| author | Christian Kamm <christian.d.kamm@nokia.com> | 2010-07-06 10:20:24 (GMT) |
|---|---|---|
| committer | Christian Kamm <christian.d.kamm@nokia.com> | 2010-07-06 10:20:24 (GMT) |
| commit | f62f6effab8d1551d8e5e5843dc478addee96de1 (patch) | |
| tree | 1d47256a1ad69d967b2c4227dfdd15207d195cf0 /doc/src/snippets/code/src_script_qscriptengineagent.cpp | |
| parent | 7e35c6ff442e237ff9a1bec9ea1cdfb597d9ceae (diff) | |
| download | Qt-f62f6effab8d1551d8e5e5843dc478addee96de1.zip Qt-f62f6effab8d1551d8e5e5843dc478addee96de1.tar.gz Qt-f62f6effab8d1551d8e5e5843dc478addee96de1.tar.bz2 | |
Fix performance of QTextDocumentPrivate::adjustDocumentChangesAndCursors
As the changedCursors list grew large, the function used to spend an
extraordinate amount of time in QList::contains.
The fix removes the changedCursors list outright and replaces it with a
flag in QTextCursorPrivate.
Done-with: mae
Diffstat (limited to 'doc/src/snippets/code/src_script_qscriptengineagent.cpp')
0 files changed, 0 insertions, 0 deletions
