> On 10 Aug 2017, at 15:15, Alastair Houghton <alast...@alastairs-place.net> 
> wrote:
> On 10 Aug 2017, at 15:09, Charles Srstka <cocoa...@charlessoft.com> wrote:
>> They’re equivalent syntactically, but performance-wise, +array and friends 
>> will cause the object to be put into an autorelease pool. Therefore, +new is 
>> better for performance.
> Not with ARC they don’t.  The ARC logic circumvents the autorelease pool in 
> that case.

Are you sure?

We had a discussion about autorelease pools recently, and it seems that they’re 
still used by Cocoa APIs (to support ARC and non-ARC code).



Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to arch...@mail-archive.com

Reply via email to