From ccf706d0bb2d9f70f5a8c18e4aab8ee7e6369817 Mon Sep 17 00:00:00 2001 From: Michael Brasser Date: Wed, 8 Jun 2011 13:18:35 +1000 Subject: Optimized QDeclarativeScriptString constructor for QDeclarativeExpression. When the compiler sees a script string, it will attempt to rewrite it and store the id for the rewrite in the script string. We can then create a QDeclarativeExpression using the id, which saves us a rewrite at runtime. Reviewed-by: Aaron Kennedy --- doc/src/declarative/whatsnew.qdoc | 3 +++ 1 file changed, 3 insertions(+) (limited to 'doc') diff --git a/doc/src/declarative/whatsnew.qdoc b/doc/src/declarative/whatsnew.qdoc index bcf27e1a40..2ce16eea40 100644 --- a/doc/src/declarative/whatsnew.qdoc +++ b/doc/src/declarative/whatsnew.qdoc @@ -40,6 +40,9 @@ You can still ignore these events in the handler to let them pass through. The Binding element now restores any previously set binding when its \e when clause becomes false. +QDeclarativeExpression can now be directly (and more efficiently) constructed from a +QDeclarativeScriptString. + \section1 Qt 4.7.4 includes QtQuick 1.1 QtQuick 1.1 is a minor feature update. \e {import QtQuick 1.1} to use the new -- cgit v1.2.3