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 合并指标
 (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.

贡献者指南