[issue10399] AST Optimization: inlining of function calls

Alex report at bugs.python.org
Sat Nov 13 06:39:29 CET 2010


Alex <alex.gaynor at gmail.com> added the comment:

Just a thought: it's possible to cover all the cases properly with inlining (locals, globals (even with cross module inlining), tracebacks, sys._getframe(), etc.), however I think you're going to find that manually managing all of those is going to quickly drive you up a tree if you want to also get meaningful speedups (from removing frame allocation, argument parsing, etc.).

My 2¢.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue10399>
_______________________________________


More information about the Python-bugs-list mailing list