#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 Alex):
a) Most of the technical details of my post were terribly off, please
don't take them literally (I really need to double check myself before
referring to methods).
b) Yes, clones are made, but the issue I thought was being discussed here
was their nesting, which isn't necessary. If the comparator is the same
than they can be kept in a flat list, which avoids the deep recursion in
deepcopy calls.
--
Ticket URL: <http://code.djangoproject.com/ticket/12725#comment:3>
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.