From bdc3497667b17904b7c26ce8c328c9d2dc67aa6d Mon Sep 17 00:00:00 2001 From: kocsismate Date: Wed, 4 Sep 2019 22:06:44 +0200 Subject: [PATCH] Rewrite the introduction sentence about preloading --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 7d8ec4a..4bfa60c 100644 --- a/README.md +++ b/README.md @@ -549,8 +549,8 @@ $container = new Container("/var/www"); ### Generating a preload file -Preloading is a performance optimizating [feature](https://wiki.php.net/rfc/preload) introduced in PHP 7.4 which compiles -PHP files and loads them into shared memory by running a dedicated preload file when starting up PHP. +Preloading is a [feature](https://wiki.php.net/rfc/preload) introduced in PHP 7.4 for optimizing performance by compiling +PHP files and loading them into shared memory when PHP starts up using a dedicated preload file. According to an [initial benchmark](https://github.com/composer/composer/issues/7777#issuecomment-440268416), the best speedup can be achieved by only preloading the "hot" files: those ones which are used the most often. Another gotcha is that in order