#33003: Micro-optimisation for QuerySet._chain
-------------------------------------+-------------------------------------
     Reporter:  Keryn Knight         |                    Owner:  Keryn
         Type:                       |  Knight
  Cleanup/optimization               |                   Status:  closed
    Component:  Database layer       |                  Version:  dev
  (models, ORM)                      |
     Severity:  Normal               |               Resolution:  fixed
     Keywords:                       |             Triage Stage:  Ready for
                                     |  checkin
    Has patch:  1                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------
Changes (by GitHub <noreply@…>):

 * status:  assigned => closed
 * resolution:   => fixed


Comment:

 In [changeset:"921e4ccb77ed2056d5cdfc6756ee82b54831937f" 921e4cc]:
 {{{
 #!CommitTicketReference repository=""
 revision="921e4ccb77ed2056d5cdfc6756ee82b54831937f"
 Fixed #33003 -- Removed **kwargs from QuerySet._chain().

 The functionality of updating the __dict__ was only present to allow
 for pickling a Prefetch object, which is a comparably rare operation.
 Forcing the __getstate__() implementation to handle it allows the
 chaining operation to be slightly faster, which is much more common.
 }}}

-- 
Ticket URL: <https://code.djangoproject.com/ticket/33003#comment:4>
Django <https://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 unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/067.d9f13e9dce72fd84b639ffa4144e2815%40djangoproject.com.

Reply via email to