#4441: minor regroup optimization
-------------------------------+--------------------------------------------
Reporter:  [EMAIL PROTECTED]  |       Owner:  adrian         
  Status:  new                 |   Component:  Template system
 Version:  SVN                 |    Keywords:                 
   Stage:  Unreviewed          |   Has_patch:  1              
-------------------------------+--------------------------------------------
 For template tag such as
 {{{
 {% regroup records by category as categories %}
 }}}
 
 the internal lookup/rendering is implemented as a var resolve of
 'var.category', with the calling context dropped; in other words, code is
 forcing an uneeded lookup for every iteration of regroup; following patch
 cuts out the uneeded 'var.' lookup.

-- 
Ticket URL: <http://code.djangoproject.com/ticket/4441>
Django Code <http://code.djangoproject.com/>
The web framework for perfectionists with deadlines
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to