diff options
| author | Keryn Knight <keryn@kerynknight.com> | 2022-01-07 09:29:22 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-01-07 10:29:22 +0100 |
| commit | 96e7ff5e9ff6362d9a886545869ce4496ca4b0fb (patch) | |
| tree | 8dea06c48247e78ba0463045004ce62e9895e82a /docs | |
| parent | c67e1cf44f17c36139e25b1eae92216cb8baad77 (diff) | |
Avoided isinstance(…, Variable) calls in FilterExpression.resolve().
By determining the variable type within __init__() instead of resolve()
we can skip an isinstance() check at template runtime. Templates are
executed in production more often than the parse trees themselves,
assuming the cached Loader is used.
Diffstat (limited to 'docs')
0 files changed, 0 insertions, 0 deletions
