diff options
| author | Robin Burchell <robin.burchell@viroteck.net> | 2014-09-14 15:57:29 +0200 |
|---|---|---|
| committer | Robin Burchell <robin.burchell@viroteck.net> | 2014-09-15 12:33:08 +0200 |
| commit | 1c4786389d0adb252e2c61e62652e38c8189c889 (patch) | |
| tree | 8d6b67535c0ea5ffea1f999e636661c986347df5 /src/gui/opengl/qopengltexturecache.cpp | |
| parent | 5857809cc5305423b6beb07064e78358a6e16857 (diff) | |
QDateTime: Micro-optimize by using QString::fromLatin1 instead of QString::fromUtf8.
This data is clearly not (and will never be) utf8 data, so using fromLatin1
avoids the (slightly more expensive) utf8 mangling.
I didn't see any significant impact on benchmarks, but I also wasn't
specifically collecting data when making this change.
Change-Id: I45190d40b2caccf15b1f9a1ae5b7dcd08cbd541f
Reviewed-by: Marc Mutz <marc.mutz@kdab.com>
Diffstat (limited to 'src/gui/opengl/qopengltexturecache.cpp')
0 files changed, 0 insertions, 0 deletions
