[Qt-qml] Performance cost of using Loader's sourceComponent
michael.brasser at nokia.com
michael.brasser at nokia.com
Fri Dec 10 01:07:58 CET 2010
On 03/12/2010, at 4:00 AM, ext Adriano Rezende wrote:
> On Fri, Oct 22, 2010 at 2:12 AM, <michael.brasser at nokia.com> wrote:
>> On 21/10/2010, at 4:44 AM, ext mathias.malmqvist at nokia.com wrote:
>>> Quick question; is there a cost involved in instantiating elements using the
>>> Loader's sourceComponent property? I.e. does it prevent the source
>>> component's code from being cached when it's compiled the first time?
>>
>> It shouldn't be preventing the component from caching the compiled qml.
>
> Is there a plan to save the compiled data to disk in order to improve
> future loads? For example, caching Screen.qml into Screen.qmlc.
It's certainly something we've discussed -- I imagine we'll likely do a trial implementation at some point, see what we learn, and go from there.
Regards,
Michael
More information about the Qt-qml
mailing list