6 ms·
End of the page here: https://developer.apple.com/library/ios/#releasenotes/ObjectiveC/RN-TransitioningToARC/Introduction/Introduction.html#//apple_ref/doc/uid/
by ksuther 15y ago
End of the page here: https://developer.apple.com/library/ios/#releasenotes/ObjectiveC/RN-TransitioningToARC/Introduction/Introduction.html#//apple_ref/doc/uid/TP40011226 https://developer.apple.com/library/ios/#releasenotes/Object...
Apple highly encourages using ARC over GC for new development.
- Groxx 15y agoWell yeah. One is compiler-assisted reference counting and the other is garbage collection. Reference counting is nearly always faster than garbage collecting, and Apple has generally been a bit obsessed on speed, for however much that has gained them or lost them. Their wording there is suspect though. Interesting - thanks for the link!
- chalst 15y agoReference counting is generally quite a bit slower overall than stop-the-world garbage collection. I guess you meant latency, where reference counting generally has better latency than incremental garbage collection.