not-so-optimized version of it.take(count).foreach(f) but ensure that a new Collection is not built
it.take(count).foreach(f)
scala.collection.mutable.rnd.HashSet