Spent the morning cutting our Swift compile time by ~3 min. Thanks @irace for the helpful blogpost! http://irace.me/swift-profiling
-
-
@ayanonagon@KostiaKoval isn't it more important to make the user's experience better than the developer's? - View other replies
-
@abizern@KostiaKoval It is, so I’m writing ugly code.
-
@ayanonagon btw, docs:"Typically, using this method is more efficient than activating each constraint individually." https://developer.apple.com/reference/uikit/nslayoutconstraint/1526955-activateconstraints … - View other replies
-
@KostiaKoval Yeahhhh that’s right. We ended up rewriting as var constraints = [NSLayoutConstraint]() then constraints.append
-
-
-
@ayanonagon@KostiaKoval Could you speed up the compile-time w/ array by explicitly declaring, appending to the array you pass to activate? - View other replies
-
@zwaldowski@KostiaKoval Yes! Exactly what I’m doing now. So many changes to make.
-
-
@ayanonagon probably enabling 1 constraint activates the layout process to its siblings. *It's all my guesses
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.
Ayaka Nonaka
Kostiantyn Koval
Abizer Nasir
Scary Zach Waldowski