![](https://secure.gravatar.com/avatar/cd2e442c42c95ed534e4197df4300222.jpg?s=120&d=mm&r=g)
Feb. 2, 2011
2:18 a.m.
2011/2/1 Ćukasz Ligowski <orangewarrior@gmail.com>:
Hi,
First of all I'd like to thank all developers for good work on PyPy ;)
I'd like to ask are there any rules of thumb to write code that PyPy JIT can easily optimize? Or maybe which constructs are hardly optimizable by JIT so it's better to avoid them? https://codespeak.net/viewvc/pypy/extradoc/talk/pycon2010/crossinterp/talk.p... Mostly things you'd normally avoid anyway like sys._getframe().
-- Regards, Benjamin