For every setBrush/setColor we're initialising a new QBrush instance that
allocates some space in memory. At the moment we were creating and destroying
QBrush instances like crazy, this check aloen saves 23K calls only starting
Discover.
Details
Details
- Reviewers
mart - Commits
- R169:c56e3e06729a: Optimise setting up the palette
Tried with Discover, KAlgebra and Kirgami Gallery
Diff Detail
Diff Detail
- Repository
- R169 Kirigami
- Branch
- master
- Lint
No Linters Available - Unit
No Unit Test Coverage - Build Status
Buildable 1197 Build 1210: arc lint + arc unit