We know that the maximum size is the number of windows in stacking
order. It might be that some are skipped as they are not ready for
painting, but overall it's better to reserve a little bit too much
memory than to have a growing QVector.
Details
Details
- Reviewers
zzag - Group Reviewers
KWin - Commits
- R108:33c7edaaf479: Use reserve on QVector<Phase2Data>
Compiles
Diff Detail
Diff Detail
- Repository
- R108 KWin
- Branch
- phase2-reserve
- Lint
Lint OK - Unit
No Unit Test Coverage - Build Status
Buildable 7010 Build 7028: arc lint + arc unit