Populating a dictionary, fast

Paul Rubin http
Sun Nov 11 06:45:44 CET 2007


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()



More information about the Python-list mailing list