One order of magnitude faster Project.__init__, Project.get_forks, Assignment.submissions
This series of commits makes the query of the submissions of an assignment an order of magnitude faster.
- 30 submissions: .9s (was 11s)
- 158 submissions: 6s (was 1m14s)
In particular, it vastly reduces the number of requests to GitLab: it accidentality used to be the number of submissions; now it's just the number of student groups (or 1 if there is none).