Tremendous slowdown due to garbage collection

Paul Rubin http
Sun Apr 27 16:10:37 EDT 2008


"Terry Reedy" <tjreedy at udel.edu> writes:
> Can this alternative be made easier by adding a context manager to gc 
> module to use with 'with' statements?  Something like
> 
> with gc.delay() as dummy:
>    <block>

That sonuds worth adding as a hack, but really I hope there can be
an improved gc someday.



More information about the Python-list mailing list