#27624: Optimize ORM by using more immutable data structures
-------------------------------------+-------------------------------------
Reporter: Adam Johnson | Owner: Adam
Type: | Johnson
Cleanup/optimization | Status: assigned
Component: Database layer | Version: 1.10
(models, ORM) |
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by Adam Johnson):
It would be fair to close this. But you did make me take a look and I
noticed there are three explain attributes, including a dict, when there
could be one, plus some unnecessary branches:
https://github.com/django/django/pull/14857
Some of the lesser used dict attributes could also be migrated to be
optional to avoid their `copy()` calls. But it may not be worth the effort
to change and profile.
--
Ticket URL: <https://code.djangoproject.com/ticket/27624#comment:10>
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/068.3219f029264a42644810dd4364c7dc37%40djangoproject.com.