On 4/18/06, Ian Bicking <[EMAIL PROTECTED]> wrote:
> Guido van Rossum wrote:
> > Perhaps, if you can do it in a way that it also works for IronPython
> > and Jython...
>
> Is it expected that IronPython and Jython will have similar performance
> characteristics to CPython?  That seems hard to achieve.  I would assume
> that the AST hacking would only effect performance (and maybe remove
> some potential dynamicism), so un-AST-hacked code would work identically.

Since it's hard to ensure that AST hacking doesn't change the
semantics in any way I don't think you can guarantee that. You could
perhaps guarantee that for some kind of inlining, but if you support
AST-hacking for inlining that you automatically make it available for
other code transformations.

Anyway, this is rather wild py-in-the-sky -- I'd rather not spend time
discussing it until there's a working implementation and a PEP.

--
--Guido van Rossum (home page: http://www.python.org/~guido/)
_______________________________________________
Python-3000 mailing list
Python-3000@python.org
http://mail.python.org/mailman/listinfo/python-3000
Unsubscribe: 
http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com

Reply via email to