Profiled to speed up assignment.py: mainly by speeding up list_active_rads by caching results instead of going to DB each time