4 ms·
> We have a counter that goes up by 1 every time you call malloc. > And down by one every time you call free. Isn’t that close to how ARC (automatic reference
by Alifatisk 3y ago
> We have a counter that goes up by 1 every time you call malloc.
> And down by one every time you call free.
Isn’t that close to how ARC (automatic reference counting) works?