Earlier quoted context omitted.
Hello. Mallory Paine here. I wrote FIC. This is not legacy code...it should be trivial to convert it to ARC and performance should be unaffected. I'm a bit old school myself so I chose to write it with manual retains. Does this approach make the code more difficult for you to use within an ARC project?
It might even be faster under ARC since I think the compiler can optimize some retain/release calls. I think the ARC retain and release may be faster than -retain/-release, but I'm not sure about that. Overall, yes, it's less smooth to include non-ARC code in an ARC project.
FastImageCache – iOS library for quickly displaying images while scrolling
31–35 of 35 posts
Re: FastImageCache – iOS library for quickly displaying images while scrolling
#32A better solution then dealing with 60fps scrolling : Don't scroll, Flip!
Re: FastImageCache – iOS library for quickly displaying images while scrolling
#33Earlier quoted context omitted.
It might even be faster under ARC since I think the compiler can optimize some retain/release calls. I think the ARC retain and release may be faster than -retain/-release, but I'm not sure about that. Overall, yes, it's less smooth to include non-ARC code in an ARC project.
I was under the impression that ARC simply inserts the retain/releases into the code essentially write before the compile, so in theory would be equivalent.
Re: FastImageCache – iOS library for quickly displaying images while scrolling
#34Earlier quoted context omitted.
Hello. Mallory Paine here. I wrote FIC. This is not legacy code...it should be trivial to convert it to ARC and performance should be unaffected. I'm a bit old school myself so I chose to write it with manual retains. Does this approach make the code more difficult for you to use within an ARC project?
Actually you have my support for going manual. I still prefer to do all my projects without ARC (and I'm not old-school, unless 2009 is old-school). I just feel dirty everytime I use ARC, like I'm being sloppy haha. It also hides a lot about memory management that new people might never learn (and thus be in bigger trouble when something does go wrong). But I accept that it does have major advantages... One trouble n…
Re: FastImageCache – iOS library for quickly displaying images while scrolling
#35It's not using ARC. Is this legacy code, or couldn't they get equivalent performance with ARC enabled?