Diez B. Roggisch:
> the author says that the approach is flawed, so at *some*
> point it will be discontinued.

Can't Psyco be improved, so it can compile things like:

nums = (i for i in xrange(200000) if i % 2)
print sum(nums)

I think the current Psyco runs slower than Python with generators/
iterators. To speed up that code with Psyco you have to write this:

nums = [i for i in xrange(200000) if i % 2]
print sum(nums)

Bye,
bearophile
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to