[swift-dev] "available externally" vs build time

2017-12-28 Thread Chris Lattner via swift-dev
Folks working on the SIL optimizer, particularly those interested in faster builds: If I understand the SIL optimizer correctly, it seems that when the current program references an external symbol declared as @_inlinable, that SILModule::linkFunction eagerly deserializes the @_inlinable body a

Re: [swift-dev] [arc optimization] Why doesn't enum destructuring use guaranteed references?

2017-12-28 Thread Chris Lattner via swift-dev
This is a great question, I’m not sure what the answer is: maybe it is a simple case missed by the arc optimizer? -Chris > On Dec 27, 2017, at 9:19 PM, Félix Cloutier via swift-evolution > wrote: > > Running this on my MBP with 10 as the parameter: > https://gist.github.com/zneak/ae33bb9