It's been on my TODO list for some time to deep dive into DTL and find
where I can to remove excess work.
There's a LOT of defensive coding in there to ensure things are what we
expect, and to handle cases "just in case", and I've a gut feeling [nothing
more] that we can remove some of these
Thanks to the work Aymeric recently started, Django will have more options
with regards to templating. See his DEP on Multiple Template Engines.
https://myks.org/en/multiple-template-engines-for-django/dep/
Regarding changing the Django Template Language syntax for the sake of
performance