36 ms·
It depends on what you call ‘effortlessly’. And, technically, GCs collect non-garbage, and throw away what remains. They don’t care whether what they throw awa
by Someone 6y ago
It depends on what you call ‘effortlessly’.
And, technically, GCs collect non-garbage, and throw away what remains. They don’t care whether what they throw away contains cycles or not, but have to take care that they don’t keep running in circles when they follow links between objects while collecting the non-garbage.
- imtringued 6y agoGraph scans are trivial to implement though.
- throwaway_pdp09 6y agoWould you consider full graph scan efficient? Would you like a full graph scan after every allocation, millions of times a second? I don't understand why you said that.