3 ms·
This is basically "leaky" reference counting, yeah?
by foota 10y ago
This is basically "leaky" reference counting, yeah?
- akkartik 10y agoYes, the mechanism is exactly reference counting. However, the goal is totally different. Typically refcounting is used for automatic memory management. Here the goal is safe manual management. (The different goal means that refcounting's well-known inability to collect cycles is irrelevant, among other things.)