[swift-users] Improving compilation times?

2017-03-22 Thread piotr gorzelany via swift-users
Hi, I hope I reached the right mailing list to ask a question about tooling. Can somebody from the compiler or Xcode team share some tips on how to improve compilation times of larger Swift projects? I am an iOS developer and the largest issue my team has with Swift so far is that when the projec

Re: [swift-users] Improving compilation times?

2017-03-23 Thread piotr gorzelany via swift-users
gt; let addrInfoNil: UnsafeMutablePointer? = nil > >>> var count: Int = 0 > >>> var info: UnsafeMutablePointer = infoPtr > >>> var str: String = "" > >>> > >>> while info != addrInfoNil { > >>> > >>> let (

Re: [swift-users] Improving compilation times?

2017-03-23 Thread piotr gorzelany via swift-users
;\n" > >>>>> count += 1 > >>>>> info = info.pointee.ai_next > >>>>> } > >>>>> return str > >>>>> } > >>>>> > >>>>> Took 38 seconds to compile. > >>>>

Re: [swift-users] Improving compilation times?

2017-03-23 Thread piotr gorzelany via swift-users
t;> var info: UnsafeMutablePointer = infoPtr > >>> var str: String = "" > >>> > >>> while info != addrInfoNil { > >>> > >>> let (clientIp, service) = > sockaddrDescription(info.pointee.ai_addr) > >>>

Re: [swift-users] Improving compilation times?

2017-03-28 Thread piotr gorzelany via swift-users
: > >>> > >>> public func logAddrInfoIPAddresses(_ infoPtr: > UnsafeMutablePointer) -> String { > >>> > >>> let addrInfoNil: UnsafeMutablePointer? = nil > >>> var count: Int = 0 > >>> var info: UnsafeMutable