Avoid firing up the JS parser/JIT/interpreter when instantiating objects
authorSimon Hausmann <simon.hausmann@theqtcompany.com>
Fri, 14 Aug 2015 00:57:45 +0000 (02:57 +0200)
committerSimon Hausmann <simon.hausmann@theqtcompany.com>
Sun, 16 Aug 2015 20:14:58 +0000 (20:14 +0000)
commit94e337fa95425d259e81b4d21f4d0853108553bd
tree37c0d9941c71d83cfdd5269b93535f2f69bb9e4d
parent26a230ee0ed68d39d4d13bfeaafd9839ee2a2a00
Avoid firing up the JS parser/JIT/interpreter when instantiating objects

For setting the initial properties there's no need to run a JavaScript
function.

Change-Id: I129fa8e7128cd7aa784e34912ce636cd33b1dd66
Reviewed-by: Lars Knoll <lars.knoll@theqtcompany.com>
src/qml/qml/qqmlcomponent.cpp
src/qml/qml/qqmlcomponent_p.h
src/quick/items/qquickloader.cpp
src/quick/items/qquickloader_p_p.h