[swift-evolution] [Draft proposal] Faster/lower-level external String initialization

Zach Waldowski zach at waldowski.me
Fri Jan 15 18:43:41 CST 2016


I've made that change and the `codeUnits` split, but am waiting on
the tests before I update the branch. The proposal has been updated
and pushed.

Happy Friday! Zach Waldowski zach at waldowski.me


On Fri, Jan 15, 2016, at 06:15 PM, Max Moiseev wrote:
> Zach,
>
> A quick note on usage of @available attribute in your code.
>
> @available(*, deprecated, renamed="init(validatingCString:)”)
>
> `renamed` provides a hint to XCode on how to actually rewrite the code
> in order for it to compile. It is quite unfortunate really that
> `renamed` accepts the syntax in a snippet above. Please change
> `renamed` to `message`. Message will simply be displayed and expect
> some action from the developer.
>
> thanks, max
>
>> 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:
>>
>> https://github.com/apple/swift-evolution/pull/101
>>
>> The code is still where it was before:
>>
>> https://github.com/apple/swift/compare/master...zwaldowski:string-from-code-units
>>
>> Sent from my iPhone
>> _______________________________________________
>> swift-evolution mailing list swift-evolution at swift.org
>> https://lists.swift.org/mailman/listinfo/swift-evolution
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-evolution/attachments/20160115/759db47f/attachment.html>


More information about the swift-evolution mailing list