Commit b0f3fe3b authored by Volker Krause's avatar Volker Krause Committed by The Qt Project
Browse files

Optimize QQuickItemParticle::prepareNextFrame().


This moves one hash lookup out of the inner loop, and most importantly
avoids detaching both the particle group hash and the particle data vector
on every iteration of the inner loop.

Change-Id: If9a127b347367ac9dc1e8ee738ff914784adb896
Reviewed-by: default avatarSimon Hausmann <simon.hausmann@digia.com>
Reviewed-by: default avatarAlan Alpert <aalpert@blackberry.com>
parent bd510dfa
Branches
Showing with 4 additions and 3 deletions
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment