Populating a dictionary, fast

Michael Bacarella mbac at gpshopper.com
Sun Nov 11 17:54:52 CET 2007

> > I tried your code (with one change, time on feedback lines) and got
> >  same terrible
> > performance against my data set.
> >
> > To prove that my machine is sane, I ran the same against your
>>  sample file and got _excellent_ performance.  Start to finish in
 under a minute.
> One possibility could be that your dataset turns out to be some sort
> of pathological worst case for the hashing algorithm in python.


Putting that on the resume. ;)

More information about the Python-list mailing list