summaryrefslogtreecommitdiffstats
path: root/src/corelib/xml
diff options
context:
space:
mode:
authorKent Hansen <kent.hansen@nokia.com>2010-02-26 14:21:35 (GMT)
committerKent Hansen <kent.hansen@nokia.com>2010-02-26 14:25:22 (GMT)
commitf3eab3dd1bc982ad5847fdff67a59e2edfa20b54 (patch)
tree733ff581f2de1081b4a043851df3d7a2d9b09992 /src/corelib/xml
parentf36a907c40ebe6e22af141946ab8ef405ce3efb8 (diff)
downloadQt-f3eab3dd1bc982ad5847fdff67a59e2edfa20b54.zip
Qt-f3eab3dd1bc982ad5847fdff67a59e2edfa20b54.tar.gz
Qt-f3eab3dd1bc982ad5847fdff67a59e2edfa20b54.tar.bz2
Don't lock the QMetaType custom types mutex unnecessarily
Check the built-in types first, and only lock the mutex if the type is not found there. This makes the QMetaType::typeBuiltin benchmark ~5x faster. Reviewed-by: Harald Fernengel
Diffstat (limited to 'src/corelib/xml')
0 files changed, 0 insertions, 0 deletions