swiftlang/swift

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

Open

#49,684 opened on Mar 7, 2018

View on GitHub
 (10 comments) (0 reactions) (0 assignees)Swift (10,719 forks)batch import
buggood first issuestandard library

Repository metrics

Stars
 (69,989 stars)
PR merge metrics
 (Avg merge 8d 17h) (510 merged PRs in 30d)

Description

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.

Contributor guide