3 ms·
Thanks. No, it's not due to reference counting, at least, not according to the tracker issue which reports this oddity. Add: import os os._exit(0) to the
by eesmith 9y ago
Thanks. No, it's not due to reference counting, at least, not according to the tracker issue which reports this oddity.
Add:
import os
os._exit(0)
to the bottom of the code and it still takes a minute to run, even though there's no final garbage collection.
Also, that code creates only a few hundred objects, and the 'x' data structure is acyclic.