Re: [swift-corelibs-dev] Proposal: Improve Import of Scanner APIs into Swift 3

2016-11-30 Thread Alfredo Delli Bovi via swift-corelibs-dev
Thanks Oliver for bringing this up. Anyone can share the thread for the draft/experimental API which is in the implementation? I cannot find it. About performance, I think the idea is to return Swift types only and not autoreleasing objects anymore. Still a performance test would be needed to c

[swift-corelibs-dev] Proposal: Improve Import of Scanner APIs into Swift 3

2016-11-30 Thread Oliver Drobnik via swift-corelibs-dev
Earlier I posted this proposal to the Swift Evolution Mailing list. Then I looked at the NSScanner implementation in core libs and found experimental API using the return value to for returning the scanned results. See my comments on that below: — Working on a function for Foundation’s Scanne