From: Fabien Potencier Date: Thu, 27 Dec 2012 16:33:50 +0000 (+0100) Subject: merged branch fabpot/performance-fix (PR #941) X-Git-Url: http://git.silmor.de/gitweb/?a=commitdiff_plain;h=1b1a6e7de018d300e6eb67727f3717c24f4540ba;p=konrad%2Ftwig.git merged branch fabpot/performance-fix (PR #941) This PR was merged into the master branch. Commits ------- 2450f79 changed the way globals behave to be more BC with 1.11 and to avoid speed problems at runtime introduced in 4487387 (closes #932) Discussion ---------- changed the way globals behave to be more BC with 1.11 and to avoid speed problems at runtime introduced in 4487387 (closes #932) * Globals are now managed by themselves, independently of other elements contained in extensions * A global variable value can now be changed after the runtime has been initialized (to be more BC with the way Twig 1.11 works) * Extensions are not initialized anymore when rendering a template that is already in the cache (like in Twig 1.11) --- 1b1a6e7de018d300e6eb67727f3717c24f4540ba