storing large amounts of data in a list/dictionary

flamesrock flamesrock at
Fri Mar 11 20:35:10 CET 2005


Basically, what I'm trying to do is store large amounts of data in a
list or dictionary and then convert that to a custom formatted xml

My list looks roughly like this:

My question is, would it be faster to use a dictionary if the elements
of the lists have to be put in alphebetical order, or just use lists as
above(since hashes are faster supposedly)?


Please consider the amount of code necessary to create/decode this

(and sorry if this doesn't make any sense..)


More information about the Python-list mailing list