efficient Python object count

darrenr darren.ranalli at gmail.com
Fri Nov 7 03:32:56 EST 2008


> Thanks for the quick reply. Could you provide a link to more
> information on the debug build you refer to?

A modified version of this algorithm should do the trick for my
purposes, it finds the non-containers that gc ignores. I don't care
how long it takes to compute, I just don't want the process to block
for long periods of time.

http://utcc.utoronto.ca/~cks/space/blog/python/GetAllObjects



More information about the Python-list mailing list