aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/quick/qquicklistview/tst_qquicklistview.cpp
diff options
context:
space:
mode:
authorRobin Burchell <robin.burchell@viroteck.net>2016-12-07 14:41:38 +0100
committerRobin Burchell <robin.burchell@viroteck.net>2016-12-08 12:10:40 +0000
commit9a3b339e1c3aea4e92149706357e988979593b4d (patch)
tree1054b7cdce0a7d261605f5570cedb67cb24c6b14 /tests/auto/quick/qquicklistview/tst_qquicklistview.cpp
parentee347ee875f69aff72df294546a0c90ffd79de93 (diff)
QQuickSpriteEngine: Optimistic speedup for updateSprites
Switch from QList to QVector, and avoid using pop_front -- remove all in one operation instead. The idea here was to provide some gain to sprite-sequence in qmlbench, but any possible gain is pretty miniscule due to the lack of batching that example suffers. Still, we end up with less CPU time taken, which is a win of sorts. Change-Id: Ib7c101afa71ee617c3c4506b14701d6a4143ed3a Reviewed-by: Gunnar Sletta <gunnar@sletta.org>
Diffstat (limited to 'tests/auto/quick/qquicklistview/tst_qquicklistview.cpp')
0 files changed, 0 insertions, 0 deletions