Commit 651b0df3 authored by Aleix Pol Gonzalez's avatar Aleix Pol Gonzalez 🐧 Committed by Aleix Pol Gonzalez
Browse files

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.
parent fec4e058
......@@ -2574,7 +2574,7 @@ private:
};
class KWINEFFECTS_EXPORT WindowQuadList
: public QList< WindowQuad >
: public QVector<WindowQuad>
{
public:
WindowQuadList splitAtX(double x) const;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment