Re: [swift-evolution] Does protocol support add to an object's size?

2017-04-03 Thread Charlie Monroe via swift-evolution
> On Apr 4, 2017, at 1:48 AM, Daryle Walker via swift-evolution > wrote: > > >> On Apr 3, 2017, at 4:33 PM, Jordan Rose > > wrote: >> >>> On Mar 31, 2017, at 09:39, Joe Groff via swift-evolution >>>

Re: [swift-evolution] Does protocol support add to an object's size?

2017-04-03 Thread Daryle Walker via swift-evolution
> On Apr 3, 2017, at 4:33 PM, Jordan Rose wrote: > >> On Mar 31, 2017, at 09:39, Joe Groff via swift-evolution >> wrote: >> >> Protocol conformances are a distinct runtime object from the type itself. >> There's never any direct record of

Re: [swift-evolution] Does protocol support add to an object's size?

2017-04-03 Thread Jordan Rose via swift-evolution
> On Mar 31, 2017, at 09:39, Joe Groff via swift-evolution > wrote: > > >> On Mar 31, 2017, at 9:33 AM, Daryle Walker via swift-evolution >> wrote: >> >> >>> On Feb 15, 2017, at 3:36 PM, Slava Pestov wrote: >>> >>>

Re: [swift-evolution] Does protocol support add to an object's size?

2017-03-31 Thread Joe Groff via swift-evolution
> On Mar 31, 2017, at 9:33 AM, Daryle Walker via swift-evolution > wrote: > > >> On Feb 15, 2017, at 3:36 PM, Slava Pestov wrote: >> >> Values of concrete type always have the same size regardless of what >> protocols the type conforms to. > >

Re: [swift-evolution] Does protocol support add to an object's size?

2017-03-31 Thread Daryle Walker via swift-evolution
> On Feb 15, 2017, at 3:36 PM, Slava Pestov wrote: > > Values of concrete type always have the same size regardless of what > protocols the type conforms to. So, two struct types with the same instance-level stored properties, but one with no protocol conformance and the

Re: [swift-evolution] Does protocol support add to an object's size?

2017-02-17 Thread Haravikk via swift-evolution
> On 15 Feb 2017, at 17:51, Daryle Walker via swift-evolution > wrote: > > I don't know how protocol support works. I asking because I want to maintain > the stride of an array being the total count times the stride of the element, > which would complicate nominal

Re: [swift-evolution] Does protocol support add to an object's size?

2017-02-16 Thread Karl Wagner via swift-evolution
> On 15 Feb 2017, at 18:51, Daryle Walker via swift-evolution > wrote: > > I don't know how protocol support works. I asking because I want to maintain > the stride of an array being the total count times the stride of the element, > which would complicate nominal

Re: [swift-evolution] Does protocol support add to an object's size?

2017-02-15 Thread Slava Pestov via swift-evolution
Values of concrete type always have the same size regardless of what protocols the type conforms to. Slava > On Feb 15, 2017, at 9:51 AM, Daryle Walker via swift-evolution > wrote: > > I don't know how protocol support works. I asking because I want to maintain >