mirror of
https://github.com/twigphp/Twig.git
synced 2026-09-18 21:37:29 +00:00
734d2d886f9a4b2e14159cdf0a7d51930b143880
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())
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
Description
Languages
PHP
99.9%