Skip to content

Commit 1b9de57

Browse files
committed
Add a performance fixme to OutputByteStream
1 parent a0829b3 commit 1b9de57

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Sources/Basic/OutputByteStream.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -171,6 +171,7 @@ public class OutputByteStream: TextOutputStream {
171171

172172
/// Write a string to the buffer (as UTF8).
173173
public final func write(_ string: String) {
174+
// FIXME(performance): Use `string.utf8._copyContents(initializing:)`.
174175
write(sequence: string.utf8)
175176
}
176177

0 commit comments

Comments
 (0)