5 ms·
Theoretically with your code structured right you can disable the cyclical garbage collector outright: It only deals with reference cycles which you can explici
by Doxin 8y ago
Theoretically with your code structured right you can disable the cyclical garbage collector outright: It only deals with reference cycles which you can explicitly avoid by using the weakref module.
Not entirely sure how you'd go about writing code like that, but it's possible.