List or Dictionairy or neither?
Paul Rubin
phr-n2001 at nightsong.com
Thu Aug 23 04:06:35 EDT 2001
Dietmar Lang <dietmar at wohnheim.fh-wedel.de> writes:
> Now the list is shelved and I am accessing its items pretty randomly.
> I've found the access times to be rather slow. So my questions are:
>
> - Would using a dictionary make access faster?
If you're pickling the whole list and reading it over and over, then
yes a dictionary sounds a lot faster. You could try it...
More information about the Python-list
mailing list