swiftlang/swift

[SR-7136] Fast-path ad-hoc printing of Strings

オープン

#49,684 opened on 2018/03/07

 (10 件のコメント) (0 件のリアクション) (0 人の担当者)Swift (10,719 件のフォーク)batch import
buggood first issuestandard library

Repository metrics

Stars
 (69,989 個のスター)
PR merge metrics
 (平均マージ 8d 17h) (30d で 510 merged PRs)

説明

Previous ID SR-7136
Radar None
Original Reporter @jckarter
Type Bug

Attachment: Download

Votes 0
Component/s Standard Library
Labels Bug, StarterBug
Assignee None
Priority Medium

md5: 2686733126be82154b524085fb9de797

Issue Description:

Using Strings with print, string interpolation, String(describing:), etc., is extremely common, but goes through the generic protocol testing dispatch mechanism everything does. We should dynamically check whether something is a String and just print the string.

コントリビューターガイド