Psyco alternative

Jean-Paul Calderone exarkun at divmod.com
Thu Mar 27 12:10:40 EDT 2008


On Thu, 27 Mar 2008 08:59:33 -0700 (PDT), bearophilehugs at lycos.com wrote:
>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)
>

Sure, it can be.  That doesn't mean it will be.  Someone has to do it. :)

One reason attention is going to PyPy instead of Psyco is that PyPy's JIT
doesn't require as much careful attention to support and maintain support
for features like generators.

Jean-Paul



More information about the Python-list mailing list