summaryrefslogtreecommitdiffstats
path: root/src/corelib/io
diff options
context:
space:
mode:
authorMarc Mutz <marc.mutz@kdab.com>2015-12-29 14:10:50 +0100
committerMarc Mutz <marc.mutz@kdab.com>2015-12-30 12:05:16 +0000
commit5c8186301996780b90e1b7b37b6142e885f3c9b0 (patch)
tree1693189dc3317c5d7e489b556ede79adbb4667b8 /src/corelib/io
parent08adcc62a76b39401c91cbfa7e9f721f0aa5b7f6 (diff)
moc: replace a QStack<QByteArray> with std::stack<QByteArray, QByteArrayList>
A QByteArrayList is almost as efficient as a QVector<QByteArray>. More importantly, the QByteArrayList case can share code with the myriad of other QByteArrayList users, in particular because std::stack is but the thinnest of wrappers around its underlying container. For moc, saves almost 1KiB in text size on optimized GCC 4.9 Linux AMD64 builds. For qdbuscpp2xml, which re-uses moc code, saves ~1.6KiB. Change-Id: I861e92b3c79e47e0ce892ccf54c9041182aaf212 Reviewed-by: Olivier Goffart (Woboq GmbH) <ogoffart@woboq.com>
Diffstat (limited to 'src/corelib/io')
0 files changed, 0 insertions, 0 deletions