commit | da20fce9c329acd8cf06162bd22be6e9b1fc1bc8 | [log] [tgz] |
---|---|---|
author | Jeremy Hylton <jeremy@alum.mit.edu> | Fri May 18 20:53:14 2001 +0000 |
committer | Jeremy Hylton <jeremy@alum.mit.edu> | Fri May 18 20:53:14 2001 +0000 |
tree | a85ea40301c8a9be10c85db52cac1deaa223f855 | |
parent | bd3090d4d659951ed38d1da0f44c3e59ec830bea [diff] |
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.