Fabien Potencier 734d2d886f minor #2617 Performance optimization (fabpot)
This PR was merged into the 2.x branch.

Discussion
----------

Performance optimization

This PR avoids calling `$this->getSourceContext()` whenever we call `twig_get_attribute()`. That saves one method call and one object creation.

Commits
-------

89cbb5c4 optimized twig_get_attribute (avoid calling getSourceContext())
2018-01-30 12:10:36 +01:00
2018-01-07 18:54:41 +01:00
2017-08-19 19:42:41 +02:00
2017-06-12 09:59:07 -07:00
2017-11-07 22:28:59 +01:00
2017-11-12 10:48:08 -08:00
2017-08-16 08:18:33 +02:00
2018-01-07 18:54:25 +01:00
2013-11-11 20:04:42 +01:00

Twig, the flexible, fast, and secure template language for PHP
==============================================================

Twig is a template language for PHP, released under the new BSD license (code
and documentation).

Twig uses a syntax similar to the Django and Jinja template languages which
inspired the Twig runtime environment.

More Information
----------------

Read the `documentation`_ for more information.

.. _documentation: http://twig.sensiolabs.org/documentation
Languages
PHP 99.9%