Re: [swift-dev] Implementation of Existential Collection (AnySequence and co.)

2017-04-08 Thread Luke Larson via swift-dev
David Abrahams is the code owner for the Swift standard library. Luke > On Apr 8, 2017, at 1:45 PM, Pavol Vaskovic via swift-dev > wrote: > > Jordan Rose says in the comment on SR-4499 that Dmitri no longer works on > Swift. Who owns that part of code now? > > Also, who is able to answer my

Re: [swift-dev] Implementation of Existential Collection (AnySequence and co.)

2017-04-08 Thread Pavol Vaskovic via swift-dev
Jordan Rose says in the comment on SR-4499 that Dmitri no longer works on Swift. Who owns that part of code now? Also, who is able to answer my original questions from this thread? --Pavol On Wed, 5 Apr 2017 at 18:56, Pavol Vaskovic wrote: > On Wednesday, 5 April 2017 at 16:04, rintaro ishizak

Re: [swift-dev] Implementation of Existential Collection (AnySequence and co.)

2017-04-05 Thread Pavol Vaskovic via swift-dev
On Wednesday, 5 April 2017 at 16:04, rintaro ishizaki wrote: > Just FYI > > Implementation of Type Erasers > https://lists.swift.org/pipermail/swift-dev/Week-of-Mon-20160905/002852.html Thanks for that link! This looks like a followup to Chris’s question, so I’m pinging Dmitri to chime in on

Re: [swift-dev] Implementation of Existential Collection (AnySequence and co.)

2017-04-05 Thread rintaro ishizaki via swift-dev
Just FYI Implementation of Type Erasers https://lists.swift.org/pipermail/swift-dev/Week-of-Mon-20160905/002852.html 2017-04-05 22:22 GMT+09:00 Pavol Vaskovic via swift-dev : > On Wednesday, 5 April 2017 at 14:56, Pavol Vaskovic wrote: > > Thanks Ole! This explanation of type erasure makes tota

Re: [swift-dev] Implementation of Existential Collection (AnySequence and co.)

2017-04-05 Thread Ole Begemann via swift-dev
On 05.04.2017 15:22, Pavol Vaskovic via swift-dev wrote: On Wednesday, 5 April 2017 at 14:56, Pavol Vaskovic wrote: Thanks Ole! This explanation of type erasure makes total sense. I have overlooked they are generic over different axis. But I think I have confirmed the performance implication

Re: [swift-dev] Implementation of Existential Collection (AnySequence and co.)

2017-04-05 Thread Pavol Vaskovic via swift-dev
On Wednesday, 5 April 2017 at 14:56, Pavol Vaskovic wrote: > Thanks Ole! This explanation of type erasure makes total sense. I have > overlooked they are generic over different axis. > > But I think I have confirmed the performance implications of this design and > created https://bugs.swift.or

Re: [swift-dev] Implementation of Existential Collection (AnySequence and co.)

2017-04-05 Thread Pavol Vaskovic via swift-dev
On Wednesday, 5 April 2017 at 11:59, Ole Begemann wrote: > On 05.04.2017 00:33, Pavol Vaskovic via swift-dev wrote: > > ## Abstract Base Class with Single Concrete Implementation > > > > What is the purpose of having an internal abstract base `class > > _AnyIteratorBoxBase`[3][], that is only in

Re: [swift-dev] Implementation of Existential Collection (AnySequence and co.)

2017-04-05 Thread Ole Begemann via swift-dev
On 05.04.2017 00:33, Pavol Vaskovic via swift-dev wrote: Hello, I’ve been familiarizing myself with the implementation details of the `AnySequence` and related types, because I’ve encountered strange performance behavior when using them. I have a few questions as a result. I might also hold i