#35026: Improving perfromance of the apps registry `get_models()` method
-------------------------------------+-------------------------------------
Reporter: Kamil PaduszyĆski | Owner: nobody
Type: | Status: closed
Cleanup/optimization |
Component: Database layer | Version: 5.0
(models, ORM) |
Severity: Normal | Resolution: wontfix
Keywords: apps, models | Triage Stage:
| Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by David Sanders):
* status: new => closed
* resolution: => wontfix
Comment:
Hi,
Thanks for the suggestion, though using a generator here would break the
method (try it out to see why).
The comment you quoted is referring to the `@functools.cache` decorator &
any additional optimisations would be negligible here.
--
Ticket URL: <https://code.djangoproject.com/ticket/35026#comment:1>
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/0107018c4d532f2b-b677b357-0820-4326-b4bf-d510d2b1b901-000000%40eu-central-1.amazonses.com.