Skip to content

Conversation

airspeedswift
Copy link
Member

@airspeedswift airspeedswift commented Mar 9, 2018

Implementation for swiftlang/swift-evolution#799

@airspeedswift
Copy link
Member Author

@swift-ci please test

@airspeedswift airspeedswift changed the title [stdlib][DNM] Add Sequence.containsOnly [stdlib] Add Sequence.allSatisfy Apr 27, 2018
@airspeedswift
Copy link
Member Author

@swift-ci please test

@airspeedswift airspeedswift requested a review from moiseev April 27, 2018 16:26
Copy link
Contributor

@moiseev moiseev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. I'm a little worried about the performance though. Would sleep better knowing for sure this implementation is as efficient after optimizations as a naïve for loop.

@airspeedswift
Copy link
Member Author

Oops your comment reminded me I needed to de-underscore inlinnnnnable

@airspeedswift
Copy link
Member Author

@swift-ci please smoke test and merge

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants