Line
Hotness
Optimization
Source
Inline Context
1
import Swift
2
3
var s: [Int] = [1, 2, 3, 4]
4
5
func f() {
6
for i in 0..<4 {
7
print(s[i])
8
}
9
}
10
11
f()
12
sil-inliner
"s.f()"
inlined into "main" (cost = 20, benefit = 20)
main