[pypy-dev] Static bytecode instruction optimization and pypy (JIT?) optimization

Carl Friedrich Bolz cfbolz at gmx.de
Tue Jul 11 05:28:00 EDT 2017


On 11/07/17 10:37, Rocky Bernstein wrote:
> Sure but that's a straw argument and has a lot of packed opinions in it.
> Things like "run my program exactly like I expect" is loaded with
> opinions.  As has already been noted, Python removes "if 0:" by
> default.  When I first saw that, I thought it was cool, but honestly it
> wasn't "exactly as I expect" because I wanted my decompiler to recreate
> the source code as written which helps me in testing and lo and behold I
> was getting something different :-)  You know what?  I got use to it. I
> had to change my opinion of what "exactly as I expect" meant slightly.

Actually, to me this would be an argument to remove the "if 0:"
optimization ;-).

Cheers,

Carl Friedrich


More information about the pypy-dev mailing list