Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
4.6.0
-
None
-
openSuse 11.1 with Qt 4.6 and qt-git-master-branch.
-
6026436f0de6020252410c021e0745a22599b159
Description
After adding >30000 Items to a GraphicsScene the first draw takes very long time.
That's because it first calls _q_polishItems(), which removes the Itemes one-by-one from the QSet of unpolished GraphicsItems.
(The actual slow instruction seems to be "it = unpolishedItems.begin();". Tested with callgrind).
A suggested fix is attached...