[Python-Dev] Store x Load x --> DupStore (original) (raw)

Phillip J. Eby pje at telecommunity.com
Sun Feb 20 18:37:41 CET 2005


At 08:17 AM 2/20/05 -0800, Guido van Rossum wrote:

Where are the attempts to speed up function/method calls? That's an area where we could really use a breakthrough...

Amen!

So what happened to Armin's pre-allocated frame patch? Did that get into 2.4?

Also, does anybody know where all the time goes in a function call, anyway? I assume that some of the pieces are:

I suppose the fast branch fixes don't help special methods like getitem et al, since those don't go through the fast branch, but I don't think those are the majority of function calls.

And whatever happened to CALL_METHOD? Do we need a tp_callmethod that takes an argument array, length, and keywords, so that we can skip instancemethod allocation in the common case of calling a method directly?



More information about the Python-Dev mailing list