diff options
author | Lars Knoll <lars.knoll@digia.com> | 2014-03-13 21:28:30 +0100 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2014-03-18 09:05:57 +0100 |
commit | 09f3cfee8d5e34b5f7058586c52c3fc36d295d93 (patch) | |
tree | 34e2f85fc7914780db09365dc0654d9201f829f4 /src/qml/jsruntime/qv4regexpobject.cpp | |
parent | 6b425f3182e57cb7cda6b559f3ee9673137706d0 (diff) | |
download | qtdeclarative-09f3cfee8d5e34b5f7058586c52c3fc36d295d93.tar.gz |
Add some specialized lookups for two internal classes
Some methods are being called with two different types of objects,
alternating between them. This adds a specialized lookup for that
case. Speeds up the splay test by ~20%.
Also create a clean path to a fallback lookup instead of going back
to the generic lookup and then alternating.
Change-Id: I3082d70d27155ef5f2cf2b680d227c6dd389956d
Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
Diffstat (limited to 'src/qml/jsruntime/qv4regexpobject.cpp')
0 files changed, 0 insertions, 0 deletions