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:
parent
fec4e058e5
commit
651b0df30c
1 changed files with 1 additions and 1 deletions
|
@ -2574,7 +2574,7 @@ private:
|
|||
};
|
||||
|
||||
class KWINEFFECTS_EXPORT WindowQuadList
|
||||
: public QList< WindowQuad >
|
||||
: public QVector<WindowQuad>
|
||||
{
|
||||
public:
|
||||
WindowQuadList splitAtX(double x) const;
|
||||
|
|
Loading…
Reference in a new issue