mirror of
https://github.com/apple/swift-algorithms
synced 2026-11-25 04:27:47 +00:00
`split(maxSplits:omittingEmptySubsequences:whereSeparator:)` and `split(separator:maxSplits:omittingEmptySubsequences:)` now operate lazily when called on `LazySequenceProtocol`- or `LazyCollectionProtocol`-conforming values. In the latter case, no additional storage is allocated on the heap.