Is 100,000 entries big for a dictionary?
Gilles Lenfant
glenfant at equod.com.nospam
Fri Dec 29 18:06:26 EST 2000
Not for my desktop Sun 4500 with 16 Gb RAM 8))
For your machine:
megadict = {}
for x in xrange(0, 100000):
megadict[str(x)] = 'depends on the stuff you put in the dict'
So what's the result ?
<rturpin at my-deja.com> a écrit dans le message news:
92iug4$vqb$1 at nnrp1.deja.com...
> I'm in the process of architecting an application with medium sized data
> sets. Python dictionaries are tempting as part of the representation
> mechanism. How do they perform when they have 100,000 entries? Can you
> offer any other experience with this size data set in Python?
>
>
> Sent via Deja.com
> http://www.deja.com/
More information about the Python-list
mailing list