[swift-evolution] Proposal: Swift should automatically modify your code to improve compile times.

Chris Lattner clattner at apple.com
Sat Mar 5 11:14:18 CST 2016


> On Mar 5, 2016, at 5:23 AM, Amir Michail via swift-evolution <swift-evolution at swift.org> wrote:
> 
> I think it’s too much to require Swift developers not just to profile their code to improve running times but also to profile the compilation of their code to reduce compile times.
> 
> Swift should automatically identify expressions that took too long to compile and automatically insert type annotations in the source code to speed up future compiles of those expressions.

I respectfully disagree.  The Swift compiler should just not require you to change your code in order for it to compile fast.  We’re working on it.

-Chris


More information about the swift-evolution mailing list