coupgar
V2EX  ›  iDev

大家怎么看iOS5的Automatic Reference Counting?

By coupgar at 2011 年 10 月 18 日 · 6167 次点击
我刚接触ios开发,自动内存管理感觉比以前方便多了,不知道效率是不是比手动管理好一点呢?
5 条回复  •  1970-01-01 08:00:00 +08:00
laihj
   1
laihj  
   2011 年 10 月 18 日
理论上肯定不会比手动的好
keakon
   2
keakon  
   2011 年 10 月 18 日
@laihj 事实是比手动快几倍
coupgar
   3
coupgar  
OP
   2011 年 10 月 18 日
dongsheng
   4
dongsheng  
   2011 年 10 月 18 日
麻烦的是对大多数第三方库需要加禁用arc的编译flag,因为大多都因为兼容性还在使用手动内存管理。
coupgar
   5
coupgar  
OP
   2011 年 10 月 18 日
@dongsheng 相信随着时间的推移,ARC会慢慢普及的
iOS 开发实用技术导航
NSHipster 中文版
› http://nshipster.cn/
cocos2d 开源 2D 游戏引擎
› http://www.cocos2d-iphone.org/
CocoaPods
› http://cocoapods.org/
Google Analytics for Mobile 统计解决方案
› http://code.google.com/mobile/analytics/
WWDC
› https://developer.apple.com/wwdc/
Design Guides and Resources
› https://developer.apple.com/design/
Transcripts of WWDC sessions
› http://asciiwwdc.com
Cocoa with Love
› http://cocoawithlove.com/
Cocoa Dev Central
› http://cocoadevcentral.com/
NSHipster
› http://nshipster.com/
Style Guides
› Google Objective-C Style Guide
› NYTimes Objective-C Style Guide
Useful Tools and Services
› Charles Web Debugging Proxy
› Smore
© 2026 V2EX · 34ms · 3.9.8.5