3 ms·
In fact, one can claim that mark-and-sweep is one of the few garbage collection algorithms that actually collect garbage. Many others collect non-garbage. Beca
by Someone 15y ago
In fact, one can claim that mark-and-sweep is one of the few garbage collection algorithms that actually collect garbage.
Many others collect non-garbage. Because there typically is way less non-garbage than garbage, that is what makes them competitive with alloc/free.
- richdougherty 15y agoThat's an interesting point, thanks.