[swift-users] Need help with compile times (type inference?)
jpamer at apple.com
Mon Jan 25 12:49:12 CST 2016
Thanks for sharing, David!
As JoeG mentions below, I’ve been rolling out a series of major improvements in this area. I’ll take a look at SwiftGL to see what else can be done.
> On Jan 25, 2016, at 12:59 AM, David Turnbull via swift-users <swift-users at swift.org> wrote:
> On Sun, Jan 24, 2016 at 9:55 PM, Chris Lattner <clattner at apple.com <mailto:clattner at apple.com>> wrote:
> Are you willing/able to share the code for your project? That definitely sounds strange,
> Soitenly: https://github.com/AE9RB/SwiftGL <https://github.com/AE9RB/SwiftGL>
> The 28,000 lines of loader code are fine. The 6,000 lines of math libraries are the problem.
> I'm sure it's something to do with prototypes and generics. You can change in Types.swift:
> public protocol FloatingPointScalarType : ScalarType
> public protocol FloatingPointScalarType : ScalarType, FloatingPointType
> and make the problem a bit worse. This is something I'd actually like to use, except I don't because a few "where constraints" do what I need without the build slowdown.
> Swift 2.1 or 2.2-dev doesn't make a difference. The C++ compiler I bench against is also llvm. The compiled binaries are truly fast (with WMO). It's only the development process that's too slow because of build times.
> -David "nyuk nyuk nyuk" Turnbull
> swift-users mailing list
> swift-users at swift.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the swift-users