From 1c0bec2814a078a81fb86dbc38798bf73418f839 Mon Sep 17 00:00:00 2001 From: Fabien Potencier Date: Mon, 26 May 2014 17:15:28 +0200 Subject: [PATCH] added a note in the docs about the fact that installing the C ext is optional --- doc/installation.rst | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/doc/installation.rst b/doc/installation.rst index 9e5cbb7..d402f8a 100644 --- a/doc/installation.rst +++ b/doc/installation.rst @@ -66,6 +66,10 @@ Installing the C extension .. versionadded:: 1.4 The C extension was added in Twig 1.4. +.. note:: + The C extension is **optional** but as it brings some nice performance + improvements, you might want to install it in your production environment. + Twig comes with a C extension that enhances the performance of the Twig runtime engine; install it like any other PHP extensions: -- 1.7.2.5