[swift-corelibs-dev] IndexPath performance

2016-08-01 Thread Stephan Tolksdorf via swift-corelibs-dev
Hi, IndexPath is currently implemented using an [Int] array that is bridged to an NSIndexPath only on demand. Since IndexPath values are primarily used together with Objective-C APIs, wouldn't it be better to implement IndexPath directly as an NSIndexPath wrapper, in order to avoid the overhead of

[swift-corelibs-dev] [SR-1608]

2016-08-01 Thread David Liu via swift-corelibs-dev
Hi all, I am new to the mailing list, I am interested in contributing to Swift Open source. Recently picked up SR-1608 and have a PR out for it (i split it in 2 to keep the pulls small). The code contribution guide lines suggested to contact the mailing list to make sure work is not duplicated. S

Re: [swift-corelibs-dev] Wrapping up Swift 3 for swift-corelibs

2016-08-01 Thread Chris Bailey via swift-corelibs-dev
I had a quick conversation with Daniel Dunbar on this. Adding -Xcc -fblocks as a default option to Swift PM (on Linux). The wrinkle is the availability of the blocks runtime - it would either need to become a pre-req for Swift, or needs one to be built into the package. Chris From: David