Speed up composite type instantiation with lots of IDs
authorSimon Hausmann <simon.hausmann@theqtcompany.com>
Fri, 10 Apr 2015 13:17:51 +0000 (15:17 +0200)
committerSimon Hausmann <simon.hausmann@theqtcompany.com>
Thu, 16 Apr 2015 17:14:25 +0000 (17:14 +0000)
commit33aa21ab0430ae71f5ee44459e250091c09d56b1
tree944b25bfb0b9eb76c549bd054584f03be706dddc
parent61f218b4e772c1d97e32ef8031de0043473ebbef
Speed up composite type instantiation with lots of IDs

We don't need to convert from a QHash to a QVector in order to populate the
property name cache in QQmlContextData.

Change-Id: Ifa8e4f64a1e174907e92684b2d38abaf0a4a705c
Reviewed-by: Lars Knoll <lars.knoll@digia.com>
src/qml/qml/qqmlcontext.cpp
src/qml/qml/qqmlcontext_p.h
src/qml/qml/qqmlobjectcreator.cpp