> On Dec 20, 2015, at 8:14 AM, ilya via swift-evolution > <[email protected]> wrote: > > > If we don’t change the default maybe we should at least add a warning when > > you *could* add @noescape but didn’t. A lot of folks are likely to leave > > it off when they should really be adding it. > > I like this idea. We have a warning for variables that can be made into let, > so why not this?
An opt-in -Woptimization sort of warning (or static analyzer like feature) would be great for suggesting performance hints like this. -Chris _______________________________________________ swift-evolution mailing list [email protected] https://lists.swift.org/mailman/listinfo/swift-evolution
