> On Mar 19, 2016, at 1:53 AM, Will Stanton via swift-users 
> <swift-users@swift.org> wrote:
> 
> Don’t most collections have O(1) `count` anyway?

No; linked lists and trees, which are pretty popular data structures, are 
generally O(n) to count.

—Jens
_______________________________________________
swift-users mailing list
swift-users@swift.org
https://lists.swift.org/mailman/listinfo/swift-users

Reply via email to