How many is "too many" with lists?

Courageous jkraska1 at san.rr.com
Tue May 2 21:25:55 EDT 2000


Jeff Raven wrote:
> 
> On Tue, 02 May 2000 12:48:01 -0400, Matthew Hirsch <meh9 at cornell.edu> wrote:
> >Generating the list is slow.  I'm accessing each element with a for
> >loop.  I was just curious.
> >
> >Matt
> >
> >
> 
> How are you generating them, and how slow is too slow? With some
> optimized Python code on my rather sluggish P166 with 32meg I can
> crank out a list of..

Well, this is a bit off the subject, but in recent
Python misadventures, I'm pretty sure that

for i in range ( 1000000 ):

definitely isn't the right way to loop............




C/



More information about the Python-list mailing list