#35518: Avoid regex search for simple route patterns
-------------------------------------+-------------------------------------
     Reporter:  Jake Howard          |                    Owner:  Jake
         Type:                       |  Howard
  Cleanup/optimization               |                   Status:  closed
    Component:  Core (URLs)          |                  Version:  5.0
     Severity:  Normal               |               Resolution:  needsinfo
     Keywords:                       |             Triage Stage:
                                     |  Unreviewed
    Has patch:  1                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------
Comment (by Jake Howard):

 These benchmarks were run against `main`, with those changes. Adam's
 optimisation specifically targets optimising converting a route into a
 regex, which isn't something changed as part of this. This is just about
 avoiding matching against said regexes (we do still need to run
 `_route_to_regex` to determine whether the route has any converters, and
 thus whether it's "simple").
-- 
Ticket URL: <https://code.djangoproject.com/ticket/35518#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/010701900d1f8694-717ac57f-0348-4cdf-b8bd-04cbc7d4d834-000000%40eu-central-1.amazonses.com.

Reply via email to