Hacker News new | past | comments | ask | show | jobs | submit login

The cpython mark-and-sweep garbage collector does very little on purpose. It basically only gets involved for reference cycles. Anything else is dealt with by reference counting. This way you prevent long GC pauses.



True, but that's by no means a inherent characteristic of garbage collectors, or even garbage collectors operating on objects of a python implementation in particular.


True, but that is the current philosophy behind the garbage collector in the most used python implementation and it's unlikely to change.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: