> On Sep 10, 2016, at 5:25 PM, Charles Srstka <[email protected]> wrote:
> 
>> On Sep 10, 2016, at 2:52 PM, Xiaodi Wu via swift-evolution 
>> <[email protected] <mailto:[email protected]>> wrote:
>> 
>> Is that (i.e. having properties in extensions) listed in the completing 
>> generics manifesto? It certainly seems like it'd be a worthwhile feature to 
>> consider under that umbrella.
> 
> I think that came up at some point, but was deemed not to be implementable in 
> a sufficiently performant way.

It seems like it ought to be implementable for _in-module_ extensions, since 
presumably the memory layout of each type is fungible until the module is 
compiled.

In-module extensions address the use case I had in mind, namely breaking apart 
a large type by isolating some private properties within extensions. It seems 
like the possible and the desirable may actually intersect here.

P

_______________________________________________
swift-evolution mailing list
[email protected]
https://lists.swift.org/mailman/listinfo/swift-evolution

Reply via email to