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
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.