diff options
Diffstat (limited to 'src/quick/doc/src/appdevguide/performance.qdoc')
-rw-r--r-- | src/quick/doc/src/appdevguide/performance.qdoc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/quick/doc/src/appdevguide/performance.qdoc b/src/quick/doc/src/appdevguide/performance.qdoc index 5250f91a50..c3fa15975c 100644 --- a/src/quick/doc/src/appdevguide/performance.qdoc +++ b/src/quick/doc/src/appdevguide/performance.qdoc @@ -944,10 +944,10 @@ component doesn't already exist in the component set for your platform. Otherwi will be forcing the QML engine to generate and store type-data for a type which is essentially a duplicate of another pre-existing and potentially already loaded component. -\section3 Use module APIs instead of pragma library scripts +\section3 Use singleton types instead of pragma library scripts If you are using a pragma library script to store application-wide instance data, -consider using a QObject module API instead. This should result in better performance, +consider using a QObject singleton type instead. This should result in better performance, and will result in less JavaScript heap memory being used. \section2 Memory Allocation in a QML Application |