How many is "too many" with lists?
Andreas Jung
ajung at sz-sb.de
Tue May 2 12:15:24 EDT 2000
On Tue, May 02, 2000 at 11:17:47AM -0400, Matthew Hirsch wrote:
> Hi all,
>
> Is there a rough number of elements in a list that python or a computer
> has trouble dealing with? I'm using a P233 with 64MB RAM. I have
> ~25000 elements in a list, and things seem to be slowing down. Is there
> some number that I should try avoiding?
We're using dictionaries and lists with about 30000 elements
and a total size of over 150 MB. All you need is enough RAM
to keep your data in the main memory.
Cheers,
Andreas
More information about the Python-list
mailing list