File tree Expand file tree Collapse file tree 2 files changed +14
-6
lines changed Expand file tree Collapse file tree 2 files changed +14
-6
lines changed Original file line number Diff line number Diff line change @@ -148,12 +148,12 @@ public func == <Base : CollectionType>(
148
148
/// A lazy `CollectionType` wrapper that includes the elements of an
149
149
/// underlying collection that satisfy a predicate.
150
150
///
151
- /// - Note: The performance of advancing a `LazyFilterIndex`
152
- /// depends on how sparsely the filtering predicate is satisfied,
153
- /// and may not offer the usual performance given by models of
154
- /// `ForwardIndexType`. Be aware, therefore, that general operations
155
- /// on `LazyFilterCollection` instances may not have the
156
- /// documented complexity.
151
+ /// - Note: The performance of accessing `startIndex`, `first`, any methods
152
+ /// that depend on `startIndex`, or of advancing a `LazyFilterIndex` depends
153
+ /// on how sparsely the filtering predicate is satisfied, and may not offer
154
+ /// the usual performance given by `CollectionType` or `ForwardIndexType`. Be
155
+ /// aware, therefore, that general operations on `LazyFilterCollection`
156
+ /// instances may not have the documented complexity.
157
157
public struct LazyFilterCollection <
158
158
Base : CollectionType
159
159
> : LazyCollectionType {
Original file line number Diff line number Diff line change @@ -225,6 +225,14 @@ public func == <BaseElements> (
225
225
/// * `c.flatten().map(f)` maps eagerly and returns a new array
226
226
/// * `c.lazy.flatten().map(f)` maps lazily and returns a `LazyMapCollection`
227
227
///
228
+ /// - Note: The performance of accessing `startIndex`, `first`, any methods
229
+ /// that depend on `startIndex`, or of advancing a `${Collection}Index`
230
+ /// depends on how many empty subcollections are found in the base
231
+ /// collection, and may not offer the usual performance given by
232
+ /// `CollectionType` or `${traversal}IndexType`. Be aware, therefore, that
233
+ /// general operations on `${Collection}` instances may not have the
234
+ /// documented complexity.
235
+ ///
228
236
/// - See also: `FlattenSequence`
229
237
public struct ${Collection}<
230
238
Base: CollectionType where ${constraints % {'Base': 'Base.'}}
You can’t perform that action at this time.
0 commit comments