Re: [swift-users] [swift-evolution] How does "Sequence.joined" work?

2017-08-09 Thread Félix Cloutier via swift-users
Yes, exactly. An Array is a struct wrapper for a reference type representing storage. Mutating functions first check if they own the only reference to the storage using isKnownUniquelyReferenced . If not, they

Re: [swift-users] Search for Swift packages on GitHub

2017-08-09 Thread Kilian Koeltzsch via swift-users
You're absolutely right about the additional information. Unfortunately some of these (does it support my platform, what versions of Swift it builds on) are hard to tell without actually building the package several times with differing hardware/toolchains. Others (does it depend on Foundation,

Re: [swift-users] [swift-evolution] How does "Sequence.joined" work?

2017-08-09 Thread Taylor Swift via swift-users
On Wed, Aug 9, 2017 at 10:43 AM, Daryle Walker via swift-evolution < swift-evolut...@swift.org> wrote: > > On Aug 8, 2017, at 6:45 PM, Geordie Jay wrote: > > > Daryle Walker via swift-evolution schrieb am > Di. 8. Aug. 2017 um 21:25: > >> On Aug 8,

Re: [swift-users] [swift-evolution] How does "Sequence.joined" work?

2017-08-09 Thread Félix Cloutier via swift-users
The benefit that standard library containers have over containers from other modules is that they're optimized as if they were part of your own module, so you can get the same thing by including the collection classes in your own executable instead of linking with the module. It's my

Re: [swift-users] [swift-evolution] How does "Sequence.joined" work?

2017-08-09 Thread Daryle Walker via swift-users
> On Aug 9, 2017, at 12:19 PM, Taylor Swift wrote: > > On Wed, Aug 9, 2017 at 10:43 AM, Daryle Walker via swift-evolution > > wrote: > >> On Aug 8, 2017, at 6:45 PM, Geordie Jay >

Re: [swift-users] [swift-evolution] How does "Sequence.joined" work?

2017-08-09 Thread Daryle Walker via swift-users
> On Aug 8, 2017, at 6:45 PM, Geordie Jay wrote: > > > Daryle Walker via swift-evolution > schrieb am Di. 8. Aug. 2017 um 21:25: >> On Aug 8, 2017, at 12:35 AM, Félix Cloutier >