summaryrefslogtreecommitdiffstats
path: root/src/corelib/arch
diff options
context:
space:
mode:
authorMarc Mutz <marc.mutz@kdab.com>2014-03-27 14:50:20 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2014-03-31 22:54:14 +0200
commitadf0db5243c44a66639fc8f5462eb2d38e85bd9f (patch)
treedf4779e5ca73ee2e9e3066e78f4f8dc0fd094717 /src/corelib/arch
parent47d2d19cf6bceb0421f5dbff3686ec093daeba1c (diff)
QStringList::join: micro-optimization
Don't call that->size() if we have already saved its value in a local temp. Surprisingly, this saves 56B in text size even on a -O3 GCC build, proving that the compiler does _not_ have enough context to const-fold the repeated size() evaluation. Change-Id: I2c41ddc4376f4e1534fc2f0d4789e42b984d3ba6 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com> Reviewed-by: Olivier Goffart <ogoffart@woboq.com>
Diffstat (limited to 'src/corelib/arch')
0 files changed, 0 insertions, 0 deletions