Skip to content

Commit 58f7399

Browse files
authored
Merge pull request #16755 from eeckstein/stdlib-perf-4.2
2 parents bb77484 + 7164260 commit 58f7399

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

stdlib/public/core/SmallString.swift

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -451,10 +451,7 @@ extension _SmallUTF8String {
451451

452452
// NOTE: This exists to facilitate _fromCodeUnits, which is awful for this use
453453
// case. Please don't call this from anywhere else.
454-
@usableFromInline
455-
@inline(never) // @outlined
456-
// @_specialize(where Encoding == UTF16)
457-
// @_specialize(where Encoding == UTF8)
454+
@inlinable
458455
init?<S: Sequence, Encoding: Unicode.Encoding>(
459456
_fromCodeUnits codeUnits: S,
460457
utf16Length: Int,

0 commit comments

Comments
 (0)