#12725: Combining Q objects with | is inefficient; lots of deep cloning
---------------------------------------------------+------------------------
          Reporter:  jbalogh                       |         Owner:  nobody   
            Status:  new                           |     Milestone:           
         Component:  Database layer (models, ORM)  |       Version:  1.2-alpha
        Resolution:                                |      Keywords:           
             Stage:  Unreviewed                    |     Has_patch:  1        
        Needs_docs:  0                             |   Needs_tests:  0        
Needs_better_patch:  0                             |  
---------------------------------------------------+------------------------
Comment (by jbalogh):

 Replying to [comment:1 Alex]:
 > Specifically if the RHS has the same combinator type as the operator
 being preformed than the new node can be created by just doing a list
 addition on the lists of children.

 I assumed that the clones were being done to preserve some immutability
 guarantee in the LHS.

-- 
Ticket URL: <http://code.djangoproject.com/ticket/12725#comment:2>
Django <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