[swift-evolution] [Draft proposal] Faster/lower-level external String initialization
crk at akkyra.com
Fri Jan 15 01:09:34 CST 2016
Just a comment on the function and parameter names: decodeCString() doesn’t seem right for the factory function that takes a CollectionType since we aren’t passing in a null-terminated string there. Likewise, the first argument to the corresponding initializer that takes a CollectionType is currently called cString. Should the factory method just be called decode() perhaps, and the argument to the initializer be codeUnits rather than cString?
> On Jan 14, 2016, at 6:02 PM, Zachary Waldowski via swift-evolution <swift-evolution at swift.org> wrote:
> In response to some recommendations from the Swift 3 plans, the proposed API has been made more comprehensive, and the proposal updated to fit.
> The proposal is now PR'ed:
> The code is still where it was before:
> Sent from my iPhone
> swift-evolution mailing list
> swift-evolution at swift.org
More information about the swift-evolution