[Python-Dev] C API for gc.enable() and gc.disable()

Antoine Pitrou solipsis at pitrou.net
Fri Jun 20 16:25:01 CEST 2008


Hi,

Kevin Jacobs <jacobs <at> bioinformed.com> <bioinformed <at> gmail.com> writes:
> 
> +1 on a C API for enabling and disabling GC.  I have several instances where 
I create a large number of objects non-cyclic objects where I see huge GC 
overhead (30+ seconds with gc enabled, 0.15 seconds when disabled).

Could you try to post a stripped-down, self-contained example of such behaviour?

Antoine.




More information about the Python-Dev mailing list