summaryrefslogtreecommitdiffstats
path: root/src/gui/opengl/qopengltexturecache.cpp
diff options
context:
space:
mode:
authorRobin Burchell <robin.burchell@viroteck.net>2014-09-14 15:26:52 +0200
committerRobin Burchell <robin.burchell@viroteck.net>2014-09-15 12:32:52 +0200
commit5857809cc5305423b6beb07064e78358a6e16857 (patch)
treed8e593cb2b6ba362386025bdcd564523296c64f0 /src/gui/opengl/qopengltexturecache.cpp
parent897346604ea2bc99aee0846c5a7404f57c3c8a4d (diff)
QDate: Micro-optimize for fromStringIso benchmark.
By using QStringRef instead of QString, we avoid a data copy. This takes the QDateTime::fromStringIso benchmark from 0.79ms to 0.53ms for me. Change-Id: Ibb36067491ffc275ce3b667cb0e04941aa9457f0 Reviewed-by: Marc Mutz <marc.mutz@kdab.com>
Diffstat (limited to 'src/gui/opengl/qopengltexturecache.cpp')
0 files changed, 0 insertions, 0 deletions