Commit Graph

1 Commits

Author SHA1 Message Date
Michael Brasser ccf706d0bb 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
2011-06-09 10:10:09 +10:00