]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Backport Jeremy's checkin 2.244:
authorThomas Wouters <thomas@python.org>
Wed, 27 Jun 2001 13:09:44 +0000 (13:09 +0000)
committerThomas Wouters <thomas@python.org>
Wed, 27 Jun 2001 13:09:44 +0000 (13:09 +0000)
commit7a5b674721161bdc60d375cde69b9372539f9191
tree530a429544905b378c0bad878251d57342615488
parentcf547e1b9beae7e160cef47d32f0643a9f0f70d6
Backport Jeremy's checkin 2.244:

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