3 ms·
Couldn't ARC be disabled, and autorelease be used instead?
by manmal 3y ago
Couldn't ARC be disabled, and autorelease be used instead?
- jshier 3y agoAutorelease only works if you put the object in the autorelease pool. Some calling conventions also put it in the pool for you but if all you did was manage pools you'd leak memory.
- manmal 3y agoI‘m aware, is that an obstacle? > if all you did was manage pools you'd leak memory I‘m not sure what you mean there.
- KerrAvon 3y agoYou can't rely solely on autorelease unless you're going to put literally everything in the autorelease pools, which would not be great for performance.
- deleted 3y ago[deleted]