diff options
author | Aaron Kennedy <aaron.kennedy@nokia.com> | 2011-07-15 17:46:43 +1000 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2011-08-30 13:18:28 +0200 |
commit | c742d2d12122e752a74da3e3f26dff28ff967b9d (patch) | |
tree | 0ba053e34da0681a5a61fa6d36602ffdabef6e0e /src/declarative/qml/qdeclarativepropertycache_p.h | |
parent | 3f7ea11f9f9a0ecb2bc571237f8f3523447883f7 (diff) |
Improve performance of the QML front-end
Introduced a new lexer and a more efficient representation of
the AST. Instead of creating unique name ids, we simply use
QStringRef(s).
Change-Id: I403472fa2bb74d2c87dd6314065306499677a3bf
Authored-by: Roberto Raggi
Reviewed-on: http://codereview.qt.nokia.com/3750
Reviewed-by: Roberto Raggi <roberto.raggi@nokia.com>
Diffstat (limited to 'src/declarative/qml/qdeclarativepropertycache_p.h')
-rw-r--r-- | src/declarative/qml/qdeclarativepropertycache_p.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/declarative/qml/qdeclarativepropertycache_p.h b/src/declarative/qml/qdeclarativepropertycache_p.h index 7e677a56b5..dcb8ad60a3 100644 --- a/src/declarative/qml/qdeclarativepropertycache_p.h +++ b/src/declarative/qml/qdeclarativepropertycache_p.h @@ -181,6 +181,7 @@ public: static Data create(const QMetaObject *, const QString &); inline Data *property(const QHashedV8String &) const; + Data *property(const QHashedStringRef &) const; Data *property(const QString &) const; Data *property(int) const; Data *method(int) const; |