From 2f892744b15ffa478f518c17d0fa1f785a593c7c Mon Sep 17 00:00:00 2001 From: Mitch Curtis Date: Wed, 15 Sep 2021 14:11:51 +0200 Subject: [PATCH] advanced.md: fix language issues --- docs/ch04-qmlstart/advanced.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/ch04-qmlstart/advanced.md b/docs/ch04-qmlstart/advanced.md index cb3b368c..27131070 100644 --- a/docs/ch04-qmlstart/advanced.md +++ b/docs/ch04-qmlstart/advanced.md @@ -2,8 +2,8 @@ ## Performance of QML -QML and Javascript are interpreted languages. This means that they do not have to be processed by a compiler before being executed. Instead, they are being run inside an execution engine. However, as interpretation is a costly operation various techniques are used to improve performance. +QML and Javascript are interpreted languages. This means that they do not have to be processed by a compiler before being executed. Instead, they are being run inside an execution engine. However, as interpretation is a costly operation, various techniques are used to improve performance. The QML engine uses just-in-time (JIT) compilation to improve performance. It also caches the intermediate output to avoid having to recompile. This works seamlessly for you as a developer. The only trace of this is that files ending with `qmlc` and `jsc` can be found next to the source files. -If you want to avoid the initial start-up penalty induced by the initial parsing you can also pre-compile your QML and Javascript. This requires you to put your code into a Qt resource file and is described in detail in the [Compiling QML Ahead of Time](http://doc.qt.io/qt-6/qtquick-deployment.html#compiling-qml-ahead-of-time) chapter in the Qt documentation. +If you want to avoid the initial start-up penalty induced by the initial parsing you can also pre-compile your QML and Javascript. This requires you to put your code into a Qt resource file, and is described in detail in the [Compiling QML Ahead of Time](http://doc.qt.io/qt-6/qtquick-deployment.html#compiling-qml-ahead-of-time) chapter in the Qt documentation.