Psyco alternative

bearophileHUGS at bearophileHUGS at
Thu Mar 27 16:59:33 CET 2008

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)


More information about the Python-list mailing list