summaryrefslogtreecommitdiffstats
path: root/src/corelib
diff options
context:
space:
mode:
authorAllan Sandfeld Jensen <allan.jensen@qt.io>2016-11-23 11:50:35 +0100
committerAllan Sandfeld Jensen <allan.jensen@qt.io>2016-11-23 23:48:29 +0000
commit34be7dc9d09c45a5e47a13716ee4db70f95dabcf (patch)
tree74d3568810a103f8731fb60a61ef3e48411553e9 /src/corelib
parentdc4c647137257fc7d3081db5d52f722c754e7dcb (diff)
Optimize fontdatabase fallbacksForFamily
Short-cut the case-insensitive string comparison when lengths doesn't match. This reduces the time spend in ucstricmp from 8% during start-up of the textedit example, to under 1%. Change-Id: Ib3a92900b330453289ec9eff4830dfac6a9a5da2 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/corelib')
0 files changed, 0 insertions, 0 deletions