3 ms·
Python has a proper GC to remove cycles in reference counting, it's just not the "main" one. http://docs.python.org/library/gc.html http://docs.python.org/libr
by dialtone 15y ago
Python has a proper GC to remove cycles in reference counting, it's just not the "main" one.
http://docs.python.org/library/gc.html http://docs.python.org/library/gc.html
Since the collector supplements the reference counting already used in Python, you can disable the collector if you are sure your program does not create reference cycles. Automatic collection can be disabled by calling gc.disable().