diff options
author | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2016-11-23 11:50:35 +0100 |
---|---|---|
committer | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2016-11-23 23:48:29 +0000 |
commit | 34be7dc9d09c45a5e47a13716ee4db70f95dabcf (patch) | |
tree | 74d3568810a103f8731fb60a61ef3e48411553e9 /mkspecs/solaris-cc | |
parent | dc4c647137257fc7d3081db5d52f722c754e7dcb (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 'mkspecs/solaris-cc')
0 files changed, 0 insertions, 0 deletions