[pypy-dev] PyPy 1.7 - widening the sweet spot

Andy angelflow at yahoo.com
Tue Nov 22 21:12:09 CET 2011

By "stackless features" do you mean just Stackless Python? Or does this limitation apply to any non-blocking system like gevent?

 From: Maciej Fijalkowski <fijall at gmail.com>
To: holger krekel <holger at merlinux.eu> 
Cc: PyPy Developer Mailing List <pypy-dev at python.org> 
Sent: Tuesday, November 22, 2011 3:47 AM
Subject: Re: [pypy-dev] PyPy 1.7 - widening the sweet spot
On Tue, Nov 22, 2011 at 1:23 AM, holger krekel <holger at merlinux.eu> wrote:
> On Mon, Nov 21, 2011 at 12:35 +0200, Maciej Fijalkowski wrote:
>> * PyPy now comes with stackless features enabled by default. However,
>>   any loop using stackless features will interrupt the JIT for now, so no real
>>   performance improvement for stackless-based programs. Contact pypy-dev for
>>   info how to help on removing this restriction.
> Yes, please, could you talk a bit more explicitely about what is involved
> and what works/integrated and what doesn't?
> best,
> holger

Everything works, but every instruction that can cause a switch (so
pretty much using *any* of stackless features) will disable jitting
for this loop. this is unideal, and I don't quite recall the exact
reasons why, other than "more work is needed". Armin, can you

pypy-dev mailing list
pypy-dev at python.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/pypy-dev/attachments/20111122/242fc85f/attachment.html>

More information about the pypy-dev mailing list