Re: Populating a dictionary, fast



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


Michael Bacarella <mbac@xxxxxxxxxxxxx> 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. :(
.



Relevant Pages

  • Re: Populating a dictionary, fast
    ... I think I know what's going on, the dictionary updates are sending the ... GC into quadratic behavior. ... Try turning off the GC: ... Neither introductory nor intermediate Python learning ...
    (comp.lang.python)
  • Re: Populating a dictionary, fast
    ... Michael Bacarella writes: ... I think I know what's going on, the dictionary updates are sending the ... GC into quadratic behavior. ... Try turning off the GC: ...
    (comp.lang.python)