As discussed in #1093, use Collection>>#approxSize to resize the collection
as it is intended for this kind of purpose, and is expected to have a
constant time implementation (i.e. it should not count the elements).
Collection>>#distinct is already adequately covered with unit tests
As discussed in #1093, use Collection>>#approxSize to resize the collection as it is intended for this kind of purpose, and is expected to have a constant time implementation (i.e. it should not count the elements).
Collection>>#distinct is already adequately covered with unit tests