mirror of
https://github.com/apple/swift-collections
synced 2026-11-25 04:37:48 +00:00
This adds an experimental _FastMembershipCheckable protocol to speed up these relationship predicates when possible — having separate overloads for each known collection with a fast containment check is not going to scale for long. This commit also introduces a set of isEqual(to:) methods that generalize ==.