Would it be faster to do `l.toSet`?