﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
36913	Optimise ChoiceField / MultipleChoiceField handling of duplicate submissions	Jake Howard	Afenomamy	"When a ChoiceField / MultipleChoiceField has 5 possible choices, but the form submits 25 values, the `choices` values are compared once per submitted value. If the submitted values are duplicates, the validation doesn't terminate early, but can still spend a lot of time unnecessarily validating values. This can be very slow when large (~30k) numbers of values are submitted.

A suggested fix is to only validate the unique submitted values (for example `for val in set(value)`).

This issue was reported to the Security Team, but deemed not a security issue due to the minimal impact when given reasonable input (in the bounds of the security policy)."	Cleanup/optimization	closed	Forms	6.0	Normal	fixed			Ready for checkin	1	0	0	0	0	0
