#28703: URL regex for admin's app_index view isn't constructed deterministically
-------------------------------------+-------------------------------------
Reporter: Erik Bryant | Owner: nobody
Type: | Status: new
Cleanup/optimization |
Component: contrib.admin | Version: 1.11
Severity: Normal | Resolution:
Keywords: stable | Triage Stage:
| Unreviewed
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by Erik Bryant):
I've been thinking of changing this from O(N-squared) to O(N) by using a
set instead of a list. It would make the code just a little simpler. How
about I do that to help offset the extra sorted() call?
https://github.com/erikbryant/django/blob/master/django/contrib/admin/sites.py#L271
--
Ticket URL: <https://code.djangoproject.com/ticket/28703#comment:6>
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 post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/068.5d861a7a5f7ef698aae900a756bcd64c%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.