4 ms·
And if the values being garbage collected have no pointers in them, or the language makes cycles impossible (think functional immutable) the refcounting is all
by barrkel 15y ago
And if the values being garbage collected have no pointers in them, or the language makes cycles impossible (think functional immutable) the refcounting is all you need. It's still bona fide GC.
(This is a point of definition independent of the subject at hand. Refcounting simply is a form of GC. Imperfect for most languages and many datatypes but GC all the same.)