summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorMarc Mutz <marc.mutz@kdab.com>2014-03-27 14:49:40 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2014-03-31 22:54:14 +0200
commit35ed65b1a94ae7c3788b9326775807bef31b0f69 (patch)
tree9ddaf15f6804382af1faf1ff28c0de6162754673 /doc
parentadf0db5243c44a66639fc8f5462eb2d38e85bd9f (diff)
QStringList: use a functor instead of a function pointer for std::sort
A function pointer requires aggressive optimization to inline. A function object otoh is inlined by compilers two decades old. Even shaves off 544B in text size off of a -O3 GCC 4.7 QtCore build. Change-Id: Ibfd41654257360fa0f118701f502e6c23a6c28b3 Reviewed-by: Olivier Goffart <ogoffart@woboq.com>
Diffstat (limited to 'doc')
0 files changed, 0 insertions, 0 deletions