Re: [Python-3000] Function call speed (Was: Cleaning up argument list parsing)

2006-04-18 Thread Greg Ewing
Guido van Rossum wrote: > On 4/18/06, Greg Ewing <[EMAIL PROTECTED]> wrote: >>Would automated inlining be a legitimate use for ast-hacking? > > Perhaps, if you can do it in a way that it also works for IronPython > and Jython... Would automatically falling back on non-inlining be acceptable if s

Re: [Python-3000] Function call speed (Was: Cleaning up argument list parsing)

2006-04-18 Thread Guido van Rossum
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 achie

Re: [Python-3000] Function call speed (Was: Cleaning up argument list parsing)

2006-04-18 Thread Josiah Carlson
"Jim Jewett" <[EMAIL PROTECTED]> wrote: > > On 4/17/06, Greg Ewing <[EMAIL PROTECTED]> wrote: > > Guido van Rossum wrote: > > > > Inlining code obviously addresses this, but that's often > > > killing code structure. > > > Would automated inlining be a legitimate use for > > ast-hacking? > > T

Re: [Python-3000] Function call speed (Was: Cleaning up argument list parsing)

2006-04-18 Thread Jim Jewett
On 4/17/06, Greg Ewing <[EMAIL PROTECTED]> wrote: > Guido van Rossum wrote: > > Inlining code obviously addresses this, but that's often > > killing code structure. > Would automated inlining be a legitimate use for > ast-hacking? To keep the same semantics, you need some notification that the (

Re: [Python-3000] Function call speed (Was: Cleaning up argument list parsing)

2006-04-18 Thread Ian Bicking
Guido van Rossum wrote: >>>Inlining >>>code obviously addresses this, but that's often killing code >>>structure. >> >>Would automated inlining be a legitimate use for ast-hacking? > > > Perhaps, if you can do it in a way that it also works for IronPython > and Jython... Is it expected that Iron

Re: [Python-3000] Function call speed (Was: Cleaning up argument list parsing)

2006-04-18 Thread Guido van Rossum
On 4/18/06, Greg Ewing <[EMAIL PROTECTED]> wrote: > Guido van Rossum wrote: > > > Inlining > > code obviously addresses this, but that's often killing code > > structure. > > Would automated inlining be a legitimate use for ast-hacking? Perhaps, if you can do it in a way that it also works for Iro

Re: [Python-3000] Function call speed (Was: Cleaning up argument list parsing)

2006-04-17 Thread Greg Ewing
Guido van Rossum wrote: > Inlining > code obviously addresses this, but that's often killing code > structure. Would automated inlining be a legitimate use for ast-hacking? -- Greg ___ Python-3000 mailing list Python-3000@python.org http://mail.python.

Re: [Python-3000] Function call speed (Was: Cleaning up argument list parsing)

2006-04-17 Thread Guido van Rossum
On 4/17/06, Paul Moore <[EMAIL PROTECTED]> wrote: > How slow *are* function calls? There seems to be a common "function > calls in Python are slow" meme. It's never been a significant issue > for me, but my code is pretty much always IO-bound, so that doesn't > surprise me. Are they slow enough to