summaryrefslogtreecommitdiffstats
path: root/src/opengl
diff options
context:
space:
mode:
authorAlexis Menard <alexis.menard@nokia.com>2010-01-07 15:13:14 (GMT)
committerAlexis Menard <alexis.menard@nokia.com>2010-01-07 15:18:15 (GMT)
commit6026436f0de6020252410c021e0745a22599b159 (patch)
tree0ee98699f583abb78768178841522f6930ae4ba3 /src/opengl
parentf4e633af484b1016bed5935e29f99a49dc403e3c (diff)
downloadQt-6026436f0de6020252410c021e0745a22599b159.zip
Qt-6026436f0de6020252410c021e0745a22599b159.tar.gz
Qt-6026436f0de6020252410c021e0745a22599b159.tar.bz2
Fix performance regression in _q_polishItems.
QSet is a hash internally, using Iterator::begin while erasing elements inside the set might create holes and then the complexity increase. We now use the return value of erase (the next element) so the complexity is linear. For those who create/delete item in the polish event (BAD), _q_polishItem might be slower than the normal call. Task-number:QTBUG-6958 Reviewed-by:olivier
Diffstat (limited to 'src/opengl')
0 files changed, 0 insertions, 0 deletions