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

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 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 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 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 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

[swift-dev] [Swift CI] Build Failure: 0. OSS - LLDB Incremental - OS X (master) #5398

2017-04-05 Thread no-reply--- via swift-dev
Title: Report [FAILURE] oss-lldb-incremental-osx [#5398] Build URL:https://ci.swift.org/job/oss-lldb-incremental-osx/5398/ Project:oss-lldb-incremental-osx Date of build:Wed, 05 Apr 2017 13:51:45 -0700 Build duration:2 hr 0 min Identified problems:Regression test failed: