#36913: Optimise ChoiceField / MultipleChoiceField handling of duplicate
submissions
-------------------------------------+-------------------------------------
     Reporter:  Jake Howard          |                    Owner:  Sarah
         Type:                       |  Boyce
  Cleanup/optimization               |                   Status:  assigned
    Component:  Forms                |                  Version:  6.0
     Severity:  Normal               |               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 Abhimanyu Singh Negi):

 I’d like to work on this issue.

 From what I understand the slowdown happens because duplicate submitted
 values are validated again and again. I’m thinking of validating only the
 unique values internally while keeping the original list unchanged so
 behaviour stays the same. I’ll add some tests too to make sure duplicates
 and invalid values are still handled correctly.

 If this sounds reasonable and no one else is working on it, i would like
 to assign the issue to myself.
-- 
Ticket URL: <https://code.djangoproject.com/ticket/36913#comment:4>
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 visit 
https://groups.google.com/d/msgid/django-updates/0107019c4e25fec6-853b7690-ec62-4321-a658-bde2d8513433-000000%40eu-central-1.amazonses.com.

Reply via email to