Closed gabeschoenbach closed 1 year ago
Instead of calling get_candidates() for each ballot, just designate a list of all the candidates ahead of time. So long as the set of all candidates doesn't change throughout the for loop, this won't break anything.
Instead of calling get_candidates() for each ballot, just designate a list of all the candidates ahead of time. So long as the set of all candidates doesn't change throughout the for loop, this won't break anything.