]> granicus.if.org Git - python/commit
Inline fast_cfunction() in new call_function().
authorJeremy Hylton <jeremy@alum.mit.edu>
Fri, 16 Aug 2002 18:36:11 +0000 (18:36 +0000)
committerJeremy Hylton <jeremy@alum.mit.edu>
Fri, 16 Aug 2002 18:36:11 +0000 (18:36 +0000)
commit192690e2d21f90a2725dceec62f99bba26a9faf1
treea73a1ff2e3530cab9376c7d6c22c671bff8defaf
parentaca139d17dbdaa41c78204dbab14bd1c7d888542
Inline fast_cfunction() in new call_function().

Also, don't handle METH_OLDARGS on the fast path.  All the interesting
builtins have been converted to use METH_NOARGS, METH_O, or
METH_VARARGS.

Result is another 1-2% speedup.  If I can cobble together 10 of these,
it might make a difference.
Python/ceval.c