[swift-users] Collection underestimatedCount() does _?

Will Stanton willstanton1 at yahoo.com
Sat Mar 19 01:52:46 CDT 2016


Hello Dmitri,

Thank you – wasn’t aware and jumped to CollectionType’s redeclaration!

File https://bugs.swift.org/browse/SR-991 since I thought the documentation could say that right there.

Regards,
Will Stanton

> On Mar 19, 2016, at 2:08 AM, Dmitri Gribenko via swift-users <swift-users at swift.org> wrote:
> 
> Hi Will,
> 
> This API comes from Sequence, which does not have a count that you can
> inspect without possibly consuming the sequence.



More information about the swift-users mailing list