diff options
author | Robin Burchell <robin.burchell@viroteck.net> | 2014-12-21 20:15:09 +0100 |
---|---|---|
committer | Robin Burchell <robin.burchell@viroteck.net> | 2015-01-07 21:35:58 +0100 |
commit | c3b6a6413636a17a74e777e65d271954392867ca (patch) | |
tree | 0304461c99673c86f301b95fd1e46996fa31ef5e /src/qml/qml/qqmlimport.cpp | |
parent | ba690fb73864915b4a35bbec5b7dc134ff1dafd0 (diff) |
QV4: Lower time spent in indirections and allocations.
Change data type for defsUntyped from QList -> QVector & reserve space when
creating the list. Drops ~250ms off a pretty morbid QML testcase, most, but not
all of which was spent in allocations.
Change-Id: I2ed8c62e7d41ab353a0194da268a2b430f079474
Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
Diffstat (limited to 'src/qml/qml/qqmlimport.cpp')
0 files changed, 0 insertions, 0 deletions