diff options
| author | Marc Mutz <marc.mutz@kdab.com> | 2015-06-14 11:09:49 +0200 |
|---|---|---|
| committer | Marc Mutz <marc.mutz@kdab.com> | 2015-06-17 07:10:02 +0000 |
| commit | d4cee10bf8e1460bc569e0ee392fd33d21f6cf80 (patch) | |
| tree | b3ce578aa1a3e56f8b3c9cd88eb85fdc7eaf080d /src/corelib/thread/qexception.cpp | |
| parent | 2d9700c041b7d19f8204d96b2dc8b37859fbf4f5 (diff) | |
QMetaObjectBuilder: replace inefficient QLists with QVector
The QMeta*Private classes are larger than a void*, and weren't
marked as movable, so QList<QMeta*Private> is horribly inefficient.
Fix by holding them in QVector instead. Saves ~900B in text size
on GCC 4.9 optimized C++11 AMD64 Linux builds, and tons of memory
allocations.
Change-Id: I313c965d7a0fea16f79e9fde04a972fc248e33aa
Reviewed-by: Lars Knoll <lars.knoll@theqtcompany.com>
Diffstat (limited to 'src/corelib/thread/qexception.cpp')
0 files changed, 0 insertions, 0 deletions
