diff options
author | Lars Knoll <lars.knoll@digia.com> | 2013-11-15 22:40:07 +0100 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-12-04 09:45:35 +0100 |
commit | 9f4597dd7ae333f209c862e40c68a8f84255a63a (patch) | |
tree | 321fe649f1263be4ada9792968a1a83fa3c9ca4c /src/qml/jsapi | |
parent | 0fa9cf218bdd3054585f23abfb2b707e26ce987a (diff) |
Optimize ExecutionContext::setProperty
No need to call hasProperty followed by put. Instead get the
property descriptor and call putValue for it.
Improves v8-bench by 5%.
Change-Id: Ied047126c651c033f7ad4c27deaeec08e5fee7f9
Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
Diffstat (limited to 'src/qml/jsapi')
0 files changed, 0 insertions, 0 deletions