Populating a dictionary, fast

Michael Bacarella mbac at gpshopper.com
Sun Nov 11 10:35:07 EST 2007


> ----- Original Message ----
> From: Paul Rubin <http://phr.cx@NOSPAM.invalid>
> To: python-list at python.org
> Sent: Sunday, November 11, 2007 12:45:44 AM
> Subject: Re: Populating a dictionary, fast
> 

> Michael Bacarella <mbac at gpshopper.com> writes:
> > If only it were so easy.
> 
> I think I know what's going on, the dictionary updates are sending the
> GC into quadratic behavior.  Try turning off the GC:
>
>    import gc
>    gc.disable()



Tried that already.  No difference. :(



More information about the Python-list mailing list