I was reading the documentation related to disk caching: 
https://doc.qt.io/qt-5/qmldiskcache.html

It says:

> It stores the byte code in a cache file and later loads the cache file 
> instead of re-compiling when the same file is requested again.

I assumed before that the compilation would take place once and there would be 
an in-memory cache for this. I guess it is not the case.

Does this mean that the following code would result in the QML engine 
re-compiling the same file twice?

Repeater {
    model: 2
    delegate: Loader {
        source: "MyComponent.qml"
    }
}

Regards,
Furkan Üzümcü
_______________________________________________
Interest mailing list
Interest@qt-project.org
https://lists.qt-project.org/listinfo/interest

Reply via email to