summaryrefslogtreecommitdiffstats
path: root/mkspecs/features/data/configure.json
diff options
context:
space:
mode:
authorMarc Mutz <marc.mutz@kdab.com>2017-02-24 00:27:11 +0100
committerMarc Mutz <marc.mutz@kdab.com>2017-02-24 08:23:38 +0000
commite6234535929c67e7fbfa1ad7ce88f37df0b68d45 (patch)
treefc5518cdb3730ef6d45a02762a3b391a946e9d6d /mkspecs/features/data/configure.json
parent5a7165f2ea4057edaab212d61d5abaf8b3f1bd92 (diff)
QImageReader: remove some unneeded relocations
Replace an array of pairs of pointers with an array of pairs of arrays. Remove the unused end marker. Add a static_assert to verify that the size of the array matches the constant all loops use. Also extract the common part of the mime-type name and append it when building a QByteArray from it. This is free, as both the new QStringBuilder expression as well as the old construction from a const char * incur one memory allocation each. Replace one indexed loop with ranged-for. Results on optimized GCC 6.1.1 Linux AMD64 builds: text -96B data -160B relocs -16 Change-Id: Ic23eb06bacbf70afb6f60e2fb8a140bdd3880aca Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'mkspecs/features/data/configure.json')
0 files changed, 0 insertions, 0 deletions