Created
March 25, 2015 00:54
-
-
Save isoiphone/f779092822df6cc0bb8d to your computer and use it in GitHub Desktop.
ARrrgg compile speed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// takes ~50 seconds to compile. | |
// tested on XCode 6.3 Beta 4, late 2013 macbook pro retina | |
import Foundation | |
func CompileSmash() { | |
var arr: [AnyObject] = [1,2,3] | |
arr = arr + arr + arr + arr + arr | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment