forked from qt-creator/qt-creator
QmlProfiler: Use QList for QmlRange container when loading .qtd
As we are using this as a queue, with many calls to takeFirst(), a QVector is prohibitively expensive here. Change-Id: I151452ae1299ab520a3aceae7ff3da0e29fe9bf9 Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -430,7 +430,7 @@ private:
|
||||
QmlEvent end;
|
||||
};
|
||||
|
||||
QVector<QmlRange> ranges;
|
||||
QList<QmlRange> ranges; // We are going to do a lot of takeFirst() on this.
|
||||
};
|
||||
|
||||
void EventList::addEvent(const QmlEvent &event)
|
||||
|
||||
Reference in New Issue
Block a user