mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Add @inline(__always) to stdlib function for performance parity
This commit is contained in:
@@ -984,6 +984,7 @@ extension ${Self}: ${SelfProtocol} {
|
||||
/// - Parameter base: The collection to wrap.
|
||||
///
|
||||
/// - Complexity: O(1).
|
||||
@inline(__always)
|
||||
@inlinable
|
||||
public init<C : ${SubProtocol}>(_ base: C) where C.Element == Element {
|
||||
// Traversal: ${Traversal}
|
||||
|
||||
Reference in New Issue
Block a user