Skip to content

Commit a47bcb8

Browse files
author
Lance Parker
committed
Fix character iteration benchmarks
1 parent 922437e commit a47bcb8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stdlib/public/core/String.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -844,7 +844,7 @@ extension String {
844844
}
845845

846846
extension _StringGutsSlice {
847-
@_effects(readonly)
847+
@inline(__always)
848848
internal func _withNFCCodeUnits(_ f: (UInt8) throws -> Void) rethrows {
849849
var output = _FixedArray16<UInt8>(allZeros: ())
850850
var icuInput = _FixedArray16<UInt16>(allZeros: ())

0 commit comments

Comments
 (0)