summaryrefslogtreecommitdiffstats
path: root/src/corelib/tools/qrefcount.cpp
diff options
context:
space:
mode:
authorMarc Mutz <marc.mutz@kdab.com>2015-01-20 21:21:13 +0100
committerMarc Mutz <marc.mutz@kdab.com>2015-02-14 08:13:21 +0000
commit0d0812db550834b8935d26cc55f6a155ce6ba65c (patch)
tree88ffa609aebe6aa7e83a75bec14ffbcc9e86104a /src/corelib/tools/qrefcount.cpp
parenteff19ed799c37f3122aca510e2469f4e8fbe1a46 (diff)
QDateTime: avoid relocations
The short month names all have length 3, so store them in a multi- dimensional const char array instead of as a pointer table. Effects on Linux GCC 4.9 stripped release builds: text -196B data -64B relocs -12 (est., somehow relinfo.pl reports nonsense on QtCore) Change-Id: If5f83e4f1eb5ba0b0f54b4144abec8b88fb8529f Reviewed-by: Olivier Goffart (Woboq GmbH) <ogoffart@woboq.com>
Diffstat (limited to 'src/corelib/tools/qrefcount.cpp')
0 files changed, 0 insertions, 0 deletions