#36520: Performance Regression in parse_header_params
---------------------------------+------------------------------------
     Reporter:  David Smith      |                    Owner:  (none)
         Type:  Bug              |                   Status:  new
    Component:  HTTP handling    |                  Version:  dev
     Severity:  Release blocker  |               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 Jake Howard):

 Encoding a string into bytes is incredibly fast. Perhaps doing the short-
 circuit, converting the data to bytes and then parsing it with
 `email.message` is fast enough? It's still going to be a performance
 regression, but hopefully not by quite as much.
-- 
Ticket URL: <https://code.djangoproject.com/ticket/36520#comment:11>
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 django-updates+unsubscr...@googlegroups.com.
To view this discussion visit 
https://groups.google.com/d/msgid/django-updates/0107019856f0f466-65a52893-7326-4286-af82-50a0000c43b4-000000%40eu-central-1.amazonses.com.

Reply via email to