Hey Curtis,

I was working to remove origin.reload and ended up with a fork that 
combines the debug implementation:

https://github.com/django/django/pull/4254

On a complex template with debug off I'm measuring about a 5% increase in 
template compile time compared to master. Turning debug on adds another 1% 
on top of that. That's a lot better than the current debug implementation.

80-90% of the additional time seems to be in the lexer, not the parser. 
This is due to the finditer loop being used to annotate the start and end 
position of each token in the template source.

Preston

-- 
You received this message because you are subscribed to the Google Groups 
"Django developers  (Contributions to Django itself)" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/django-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-developers/8c7e0662-71c3-4fde-b4e7-8f334bd38112%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to