3 ms·
@milend via twitter: "He's definitely running the Swift code in Debug mode as I saw numbers in the same ballpark." [1] https://gist.github.com/anonymous/4d
by itistoday2 12y ago
@milend via twitter: "He's definitely running the Swift code in Debug mode as I saw numbers in the same ballpark." [1]
https://gist.github.com/anonymous/4df3610970891c6afc5a
https://gist.github.com/anonymous/7d7fcf0a5ce24c37999c
ObjC: 0.063209, Swift: 0.255287 (Release)
ObjC: 0.060600 Swift: 5.200207 (Debug)" [2]
[1] https://twitter.com/milend/status/474349620311883776
[2] https://twitter.com/milend/status/474354899527155712
- deleted 12y ago[deleted]
- milen 12y agoI did some further investigation [1] by running 20 million iterations in Release and profiled the code. Turns out, at least 82.9% of it was just swift_retain / swift_release (ref counting). Whether those retains / released can be optimised away, I don't know, we'll have to wait and see. [1] https://twitter.com/milend/status/474360984413683713 https://twitter.com/milend/status/474360984413683713