News for hackers. Stuff that matters.
Re:Fighting the Borrow Checker by heeen on Monday January 16, 2017 @03:58PM (#13412945)
> "There is no reason a person should know which class they are in, nor should a class know which people are enrolled in it. "

Also replacing a O(1) chasing a pointer into a O(n) array search

Re:Fighting the Borrow Checker by db48x on Monday January 16, 2017 @05:07PM (#13413451)
Or with a hash-table lookup, left as an exercise to the reader.