Make WindowQuadList a QVector

In my last profiling session I did see a lot of WindowQuadList creation
cost. We know QList is a bit more expensive, so let's just use QVector.
This commit is contained in:
Aleix Pol 2020-09-14 15:37:52 +02:00 committed by Aleix Pol Gonzalez
parent fec4e058e5
commit 651b0df30c

View file

@ -2574,7 +2574,7 @@ private:
};
class KWINEFFECTS_EXPORT WindowQuadList
: public QList< WindowQuad >
: public QVector<WindowQuad>
{
public:
WindowQuadList splitAtX(double x) const;