c[:]()

Erik Max Francis max at alcyone.com
Mon Jun 4 06:16:38 EDT 2007


Warren Stringer wrote:

>     demo4:    demo.stop()
>               ball.smooth()
>               video.live() 
>               preset.video.straight()
>               view.front3d() 
>               luma.real() 
>               seq[:]lock(1)

You're way off in la-la land, now.

> It sounds like list comprehension may be slower because it builds a list
> that never gets used. I'm curious if eval statements are faster than def
> statements? Any bytecode experts?

Are you serious?  Something that builds a list that never gets used is 
exactly what you were proposing this whole time.

-- 
Erik Max Francis && max at alcyone.com && http://www.alcyone.com/max/
  San Jose, CA, USA && 37 20 N 121 53 W && AIM, Y!M erikmaxfrancis
   Get there first with the most men.
    -- Gen. Nathan Bedford Forrest, 1821-1877



More information about the Python-list mailing list