Created
March 23, 2017 04:36
-
-
Save omochi/ea49fb9cae8b1073c6cedfa1661b697c to your computer and use it in GitHub Desktop.
This file contains 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
var fuga1: Int! = 1 | |
struct A { | |
var fuga: Int? | |
} | |
let hoge: [A] = [ | |
A(fuga: fuga1), | |
A(fuga: fuga1), | |
A(fuga: fuga1), | |
A(fuga: fuga1), | |
A(fuga: fuga1), | |
A(fuga: fuga1), | |
A(fuga: fuga1), | |
A(fuga: fuga1), | |
A(fuga: fuga1), | |
A(fuga: fuga1), | |
A(fuga: fuga1), | |
A(fuga: fuga1), | |
A(fuga: fuga1) | |
] | |
print(hoge) | |
11個, 12個, 13個のところで、4^n の増加が見られる
14, 725.987
15, 2838.418 (47min)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
hogeの要素数とコンパイル時間