I am wondering what is best perfomance-wise, using
{% include "_inc/template" %}
or
{% include "_inc/template" with {'foo': bar %}
assuming foo
is the only variable used in _inc/template
and it's also available in global context.
Will there be significant difference in performance between two approaches, if the include
is placed within for
having ~50 loops?