summaryrefslogtreecommitdiffstats
path: root/src/plugins/platforminputcontexts/compose/generator
diff options
context:
space:
mode:
authorhjk <hjk121@nokiamail.com>2013-04-22 08:35:23 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-04-23 18:57:45 +0200
commit01cbd7e4b5ef841c9e091f54cb7ffa6bb059ac31 (patch)
tree9b5325804c35a85aebf9cd687249381c09887e16 /src/plugins/platforminputcontexts/compose/generator
parentadec3f4eaf06cf0f0960c481d6cbf9634ee35d66 (diff)
Remove QLocalePrivate::m_localeID
It was only used for toUpper/toLower but always computed in the constructor, including QString::toLatin1 conversion and allocations. This needlessly slows down all other uses, including supposedly "cheap" operations QString::toDouble, or accesses inside QResourceFileEngine. The benchmarks indicates that doing it always when needed is bearable. There's still a lot of improvement potential on these code paths. Change-Id: I88b637ee11f9f7ea614f8da4ec5df0bf40664fce Reviewed-by: Konstantin Ritt <ritt.ks@gmail.com>
Diffstat (limited to 'src/plugins/platforminputcontexts/compose/generator')
0 files changed, 0 insertions, 0 deletions