#32782: Optimize _get_user_permissions by using set comprehensions
-------------------------------------+-------------------------------------
Reporter: Abhyudai | Owner: nobody
Type: | Status: closed
Cleanup/optimization |
Component: Uncategorized | Version: 3.2
Severity: Normal | Resolution: needsinfo
Keywords: permissions, auth | Triage Stage:
| Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Carlton Gibson):
* status: new => closed
* resolution: => needsinfo
Comment:
Yep, happy to look at this if it's quicker.
There's
[https://github.com/django/django/pull/12133#issuecomment-763034865 an
example of a simple benchmark script using pyperf here].
You'd need to install pyperf for that approach, but it's straight-forward
enough. [https://pyperf.readthedocs.io/en/latest/ pyperf docs].
--
Ticket URL: <https://code.djangoproject.com/ticket/32782#comment:2>
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.8f828c15dcc710558190ccaab3aa7677%40djangoproject.com.