[swift-evolution] [Accepted] SE-0133: Rename flatten() to joined()

Paulo Faria paulo at zewo.io
Thu Jul 28 08:38:36 CDT 2016


>> I doubt there would be a performance difference between adding `func joined() { return joined(separator: "") }` and changing the parameter to `separator: String = "”`.
> 
> I’ll let a stdlib guru comment on this :-)

I’m very curious about this. Default parameters are really slower?


More information about the swift-evolution mailing list