]> granicus.if.org Git - python/commit
Add a second special case to the inline function call code in eval_code2().
authorJeremy Hylton <jeremy@alum.mit.edu>
Fri, 18 May 2001 20:53:14 +0000 (20:53 +0000)
committerJeremy Hylton <jeremy@alum.mit.edu>
Fri, 18 May 2001 20:53:14 +0000 (20:53 +0000)
commitda20fce9c329acd8cf06162bd22be6e9b1fc1bc8
treea85ea40301c8a9be10c85db52cac1deaa223f855
parentbd3090d4d659951ed38d1da0f44c3e59ec830bea
Add a second special case to the inline function call code in eval_code2().

If we have a PyCFunction (builtin) and it is METH_VARARGS only, load
the args and dispatch to call_cfunction() directly.  This provides a
small speedup for perhaps the most common function calls -- builtins.
Python/ceval.c