diff options
author | Marc Mutz <marc.mutz@kdab.com> | 2015-12-29 14:10:50 +0100 |
---|---|---|
committer | Marc Mutz <marc.mutz@kdab.com> | 2015-12-31 09:29:53 +0000 |
commit | 1f7dcbfd7d0075021e3c8842542f6d233727b0d5 (patch) | |
tree | 0a5f810446aef9f203aa9903c5df67dc27f40f9e /src/gui/kernel | |
parent | 79a03c84574027aa25e386f0833c66ae9e155bac (diff) |
QtXml: replace a QStack<QString> with std::stack<QString, QStringList>
A QStringList is almost as efficient as a QVector<QString>.
More importantly, the QStringList case can share code with
the myriad of other QStringList users, in particular
because std::stack is but the thinnest of wrappers around
its underlying container.
Saves more than 1KiB in text size on optimized GCC 4.9
Linux AMD64 builds.
Change-Id: Ia9c1f8b8c6d3b619f587a0cc0f662462d1b6bdc5
Reviewed-by: David Faure <david.faure@kdab.com>
Diffstat (limited to 'src/gui/kernel')
0 files changed, 0 insertions, 0 deletions