]> granicus.if.org Git - python/commit
Squash a few calls to the hideously expensive PyObject_CallObject(o,a)
authorGuido van Rossum <guido@python.org>
Fri, 16 Aug 2002 17:01:09 +0000 (17:01 +0000)
committerGuido van Rossum <guido@python.org>
Fri, 16 Aug 2002 17:01:09 +0000 (17:01 +0000)
commit84b2bed4359e27070fe2eac4b464d4a1bc6e150d
tree0d1e50962419f5bf7e69bbc899b29a8d762e5d08
parentc13f724af0a09d515efae57b902a1270b6aba4ac
Squash a few calls to the hideously expensive PyObject_CallObject(o,a)
-- replace then with slightly faster PyObject_Call(o,a,NULL).  (The
difference is that the latter requires a to be a tuple; the former
allows other values and wraps them in a tuple if necessary; it
involves two more levels of C function calls to accomplish all that.)
Modules/pyexpat.c
Objects/abstract.c
Objects/iterobject.c
Objects/typeobject.c
Parser/tokenizer.c