News for hackers. Stuff that matters.
Re:The PEPs of Python 3.9 by Doxin on Friday May 29, 2020 @02:28AM (#23346844)
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.
Re:The PEPs of Python 3.9 by a1369209993 on Friday May 29, 2020 @03:01AM (#23347025)
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.
Re:The PEPs of Python 3.9 by Doxin on Friday May 29, 2020 @05:29AM (#23347990)
True, but that is the current philosophy behind the garbage collector in the most used python implementation and it's unlikely to change.