Armin Rigo <[email protected]> added the comment:

Ah, another idea for -O support: we could also support it from the same .pyc
files simply by having "assert xyz" compile a conditional jump first.  The jump
would skip the whole assert statement when running in -O mode, and do nothing
when running in normal mode.  This would have a very minor impact on performance
(and no impact on the JITted code).

________________________________________
PyPy bug tracker <[email protected]>
<https://bugs.pypy.org/issue1188>
________________________________________
_______________________________________________
pypy-issue mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-issue

Reply via email to