swiftlang/swift

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

開放

#49,684 建立於 2018年3月7日

 (10 則留言) (0 個反應) (0 位負責人)Swift (10,719 個分叉)batch import
buggood first issuestandard library

倉庫指標

星標
 (69,989 顆星)
PR 合併指標
 (平均合併 8天 17小時) (30 天內合併 510 個 PR)

描述

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.

貢獻者指南