Use a HashSet for the active tasks, rather than a List

We add and remove frequently, usually on a small number of items,
the set should tend to perform better in terms of avoiding moving
around the other active items in the list.

Signed-off-by: Shawn O. Pearce <sop@google.com>
1 file changed