summaryrefslogtreecommitdiffstats
path: root/header.LGPL-ONLY
diff options
context:
space:
mode:
authorMarc Mutz <marc.mutz@kdab.com>2015-02-06 23:58:55 +0100
committerMarc Mutz <marc.mutz@kdab.com>2015-02-12 09:58:35 +0000
commitddbf5f3c33d5a2bf190dd85133b3d9558ec22e4c (patch)
treef9e89539019327fa7251b4d1b57af9565b755fc6 /header.LGPL-ONLY
parent1355ac5b05e41e132071ec0fd3f5d32a2625d9bc (diff)
QTzTimeZonePrivate: replace some inefficient QLists with QVectors (I)
Both QTzTransitionTime and QTzTransitionRule are larger than void*, so holding them in QLists is horribly inefficient. Fix by declaring them as primitive types (they just contains various integers) and holding them in QVector instead. While we're at it, make the equality operator for QTzTransitionRule a constexpr, noexcept non-member, and provide the inequality operator, too. As well as being faster, this also saves 1.5K of text size on optimized AMD64 builds. Change-Id: I37100522f19556101c334625818dcf8c9a712dd9 Reviewed-by: Olivier Goffart (Woboq GmbH) <ogoffart@woboq.com>
Diffstat (limited to 'header.LGPL-ONLY')
0 files changed, 0 insertions, 0 deletions