D18198: Use QVector in paintGenericScreen
Martin Flöser <[email protected]>
| Newsgroups | gmane.comp.kde.devel.kwin |
|---|---|
| Message-ID | <[email protected]> |
graesslin added a comment. Actually if we want to improve this I would go for: - std::vector - reserve - emplace_back That combination would give us zero-copy initialization of the vector and can unfortunately not be achieved with Qt's container classes. REPOSITORY R108 KWin REVISION DETAIL https://phabricator.kde.org/D18198 To: zzag, #kwin, davidedmundson Cc: graesslin, kwin, kvanton, jraleigh, GB_2, mkulinski, ragreen, jackyalcine, Pitel, iodelay, bwowk, ZrenBot, ngraham, lesliezhai, ali-mohamed, hardening, jensreuterberg, abetts, sebas, apol, mart