Is 100,000 entries big for a dictionary?
Aahz Maruch
aahz at panix.com
Sun Dec 31 15:36:32 EST 2000
More information about the Python-list mailing list
Sun Dec 31 15:36:32 EST 2000
- Previous message (by thread): Is 100,000 entries big for a dictionary?
- Next message (by thread): Is 100,000 entries big for a dictionary?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
In article <0p936.2528$Qb7.277261 at newsb.telia.net>, Fredrik Lundh <fredrik at effbot.org> wrote: > >The implementation limit is currently one billion objects. It occurs to me, in light of the earlier thread on "is", that the limit is likely to hit even faster than that, depending on how id() is implemented. That is, a non-artificial program that tries creating a billion entries in a hash table is going to have enough other objects that the id() space will fill up. Incidentally, I think you were insufficiently pedantic in that thread when you suggested "id(a) == id(b)". It really should be import __builtin__ if __builtin__.id(a) == __builtin__.id(b): .... ;-) -- --- Aahz (Copyright 2000 by aahz at pobox.com) Androgynous poly kinky vanilla queer het <*> http://www.rahul.net/aahz/ Hugs and backrubs -- I break Rule 6 Ninth Virtual Anniversary: Today!
- Previous message (by thread): Is 100,000 entries big for a dictionary?
- Next message (by thread): Is 100,000 entries big for a dictionary?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list