Performance: improve lookup when picking variant
At the moment, it uses existing functions to find submissions already created for a student when picking an assignment in a Variants Collection. For
nvariants, this results in
nsqls) to find out whether there exists a submission for any of the variants for a student. This does not scale for larger
While this only happens once per student for a variants collection (the picked variant gets cached), it may become a problem when 500 students concurrently view a variant collection with largerSubmitted by Elmer van Chastelet on 1 October 2020 at 10:19
nfor the first time.