diff options
author | Robin Burchell <robin.burchell@viroteck.net> | 2015-06-06 11:19:38 +0200 |
---|---|---|
committer | Simon Hausmann <simon.hausmann@theqtcompany.com> | 2015-06-24 04:20:55 +0000 |
commit | cfae39f4c1664c31b4904d288b6e0cffaf208bc2 (patch) | |
tree | e049c8d387d6b550a1d8d52ae0dd7352a268c5f0 /src/quick/items/qquicktextedit_p_p.h | |
parent | 15d6c938b28a03c3076abd4b8015b3e8f559a3eb (diff) |
QQuickAnchors: Use a simple sorted list rather than a QSet to remove duplicates.
This is significantly less allocation-happy than QSet (removing around 30mb of
transient allocations when creating 5000 instances of one of the creation
benchmarks).
It increases the count of delegates_tworects per frame from ~520 per frame to
~600 per frame for me.
Change-Id: If7edd56890c93e0caf7957d08e80506e87491773
Reviewed-by: Gunnar Sletta <gunnar@sletta.org>
Diffstat (limited to 'src/quick/items/qquicktextedit_p_p.h')
0 files changed, 0 insertions, 0 deletions