diff options
author | Marc Mutz <marc.mutz@kdab.com> | 2015-06-13 20:36:20 +0200 |
---|---|---|
committer | Marc Mutz <marc.mutz@kdab.com> | 2015-06-17 07:10:06 +0000 |
commit | b9331eff917762a9b22c8fa388129314119dd66c (patch) | |
tree | 6041ee4a8dc5d8a6cc7ad01160d83337742f2905 /tests/auto/corelib/statemachine | |
parent | d4cee10bf8e1460bc569e0ee392fd33d21f6cf80 (diff) |
QMetaObjectBuilder: replace an inefficient QList with QVector
ints are only half the size of void* on 64-bit, so
QVector<int> uses only 50% of per-element memory,
compared to a QList.
Saves ~1800B of text size on GCC 4.9 optimized C++11 AMD64
Linux builds, even though it wasn't the last instance of
QList<int> in QtCore, yet.
Change-Id: Ibf04b26cff78c428e4253aaab7c280866906db58
Reviewed-by: Lars Knoll <lars.knoll@theqtcompany.com>
Diffstat (limited to 'tests/auto/corelib/statemachine')
0 files changed, 0 insertions, 0 deletions