swiftlang/swift

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

Offen

#49.684 geöffnet am 07.03.2018

 (10 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)Swift (10.719 Forks)batch import
buggood first issuestandard library

Repository-Metriken

Stars
 (69.989 Sterne)
PR-Merge-Metriken
 (PR-Metriken ausstehend)

Beschreibung

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