Back of the envelope calculation here for a course of 100K users, assuming email and name take up 1KB.  This become a 100MB data structure, which seems ok, since there's only one of these.

Definitely should watch this and consider using memory more efficiently.