We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9afa479 commit 45429ffCopy full SHA for 45429ff
stdlib/public/core/Zip.swift
@@ -144,4 +144,12 @@ extension Zip2Sequence: Sequence {
144
_sequence1.makeIterator(),
145
_sequence2.makeIterator())
146
}
147
+
148
+ @inlinable // generic-performance
149
+ public var underestimatedCount: Int {
150
+ return Swift.min(
151
+ _sequence1.underestimatedCount,
152
+ _sequence2.underestimatedCount
153
+ )
154
+ }
155
0 commit comments