Autorelease iPhone

前端 未结 6 571
遥遥无期
遥遥无期 2021-02-02 04:29

Coming up towards the end of developing an iPhone application and I\'m wondering just how bad is it to use autorelease when developing for the iphone. I\'m faced with some fairl

6条回答
  •  猫巷女王i
    2021-02-02 05:28

    Using autorelease pools means that you might be leaving some unused memory lying around. Since the iPhone has less memory to go around, you might improve performance if you free up unneeded memory as soon as possible, rather than letting it sit around taking up resources while it waits for an autorelease.

提交回复
热议问题