Re: [swift-corelibs-dev] IndexPath performance

2016-08-02 Thread Kevin Ballard via swift-corelibs-dev
FWIW, if you agree that this approach is reasonable, I would be willing to write the patch for it. -Kevin Ballard On Tue, Aug 2, 2016, at 05:46 PM, Kevin Ballard wrote: > I agree with Stephan, NSIndexPath performance is important and we > should avoid the overhead of allocating/freeing an array f

Re: [swift-corelibs-dev] IndexPath performance

2016-08-02 Thread Kevin Ballard via swift-corelibs-dev
I agree with Stephan, NSIndexPath performance is important and we should avoid the overhead of allocating/freeing an array for the common case. Instead of just always wrapping NSIndexPath, maybe we should just switch the internal representation to something like enum Indices { case one(Int)

[swift-corelibs-dev] Can't build corelibs-libdispatch on OS X

2016-08-02 Thread Kevin Ballard via swift-corelibs-dev
I want to port https://github.com/apple/swift/pull/3923 to swift-corelibs-libdispatch but I can't figure out how to build swift-corelibs-libdispatch on OS X. Running `sh autogen.sh` results in src/Makefile.am:9: error: Libtool library used but 'LIBTOOL' is undefined src/Makefile.am:9: The usua

Re: [swift-corelibs-dev] libdispatch roadmap and api addition proposal

2015-12-07 Thread Kevin Ballard via swift-corelibs-dev
On Mon, Dec 7, 2015, at 04:55 AM, Joakim Hassila via swift-corelibs-dev wrote: > Secondly, we have extended the public libdispatch API internally with > one more flavor of dispatching, let’s call it ‘dispatch_async_inline’ > - the semantics being ‘perform the processing of the work > synchronously