cpython/Objects
Victor Stinner dd69564c38 PyObject_CallMethodObjArgs() now uses fast call
Issue #27809:

* PyObject_CallMethodObjArgs(), _PyObject_CallMethodIdObjArgs() and
  PyObject_CallFunctionObjArgs() now use fast call to avoid the creation of a
  temporary tuple
* Rename objargs_mktuple() to objargs_mkstack()
* objargs_mkstack() now stores objects in a C array using borrowed references,
  instead of storing arguments into a tuple

objargs_mkstack() uses a small buffer allocated on the C stack for 5 arguments
or less, or allocates a buffer in the heap memory.

Note: this change is different than the change 0e4f26083bbb, I fixed the test
to decide if the small stack can be used or not. sizeof(PyObject**) was also
replaced with sizeof(stack[0]) since the sizeof() was wrong (but gave the same
result).
2016-08-24 01:14:54 +02:00
..
clinic Issue #27574: Decreased an overhead of parsing keyword arguments in functions 2016-08-14 10:52:18 +03:00
stringlib Backed out changeset b0087e17cd5e (issue #26765) 2016-07-03 13:57:48 +03:00
README Issue #18093: Factor out the programs that embed the runtime 2014-07-25 21:52:14 +10:00
abstract.c PyObject_CallMethodObjArgs() now uses fast call 2016-08-24 01:14:54 +02:00
accu.c Issue #14387: Do not include accu.h from Python.h. 2012-03-22 14:38:16 +01:00
boolobject.c Recorded merge of revisions 81032 via svnmerge from 2010-05-09 16:14:21 +00:00
bytearrayobject.c Issue #27704: Optimized creating bytes and bytearray from byte-like objects 2016-08-15 09:46:07 +03:00
bytes_methods.c Issue #27474: Unified error messages in the __contains__ method of bytes and 2016-07-10 12:37:30 +03:00
bytesobject.c Issue #27704: Optimized creating bytes and bytearray from byte-like objects 2016-08-15 09:46:07 +03:00
capsule.c Issue #2443: Added a new macro, Py_VA_COPY, which is equivalent to C99 2010-08-11 17:31:17 +00:00
cellobject.c fix indentation of comments in cellobject.c (closes #27011) 2016-05-12 23:12:21 -07:00
classobject.c Removed unintentional trailing spaces in non-external and non-generated C files. 2015-03-18 21:53:15 +02:00
codeobject.c Issue #15984: Merge PyUnicode doc from 3.5 2016-04-15 02:27:11 +00:00
complexobject.c Issue #24802: Merge null termination fixes from 3.4 into 3.5 2015-11-07 02:56:11 +00:00
descrobject.c Issue #27809: Use _PyObject_FastCallDict() 2016-08-22 23:21:55 +02:00
dict-common.h Issue #16991: Add a C implementation of collections.OrderedDict. 2015-05-29 22:21:39 -06:00
dictnotes.txt Issue #15055: update dictnotes.txt. Patch by Mark Shannon. 2012-06-24 21:03:45 +02:00
dictobject.c Merge: #20647: Update dictobject.c comments to account for randomized string hashes. 2016-07-10 12:40:03 -04:00
enumobject.c Anti-registration of various ABC methods. 2016-08-18 09:22:23 -07:00
exceptions.c Issue #27692: Removed unnecessary NULL checks in exceptions.c. 2016-08-20 21:22:03 +03:00
fileobject.c Rename _PyObject_FastCall() to _PyObject_FastCallDict() 2016-08-22 22:48:54 +02:00
floatobject.c Issue #26983: float() now always return an instance of exact float. 2016-06-03 21:42:55 +03:00
frameobject.c Issue #20041: Fixed TypeError when frame.f_trace is set to None. 2016-06-04 20:33:33 +03:00
funcobject.c Issue #26200: Added Py_SETREF and replaced Py_XSETREF with Py_SETREF 2016-04-10 18:12:01 +03:00
genobject.c Merge 3.5 (issue #27243) 2016-06-09 15:13:16 -04:00
iterobject.c Rename _PyObject_FastCall() to _PyObject_FastCallDict() 2016-08-22 22:48:54 +02:00
listobject.c Issue #27662: don't use PY_SIZE_MAX for overflow checking in List_New. Patch by Xiang Zhang. 2016-08-21 08:55:15 +01:00
listsort.txt Issue #25899: Converted Objects/listsort.txt to UTF-8. 2015-12-18 13:23:33 +02:00
lnotab_notes.txt Issue #26107: Fix typo in Objects/lnotab_notes.txt 2016-01-21 18:12:29 +01:00
longobject.c Issue #27792: force int return type for modulo operations involving bools. 2016-08-22 12:24:46 +01:00
memoryobject.c Issue #25923: Added more const qualifiers to signatures of static and private functions. 2015-12-25 20:01:53 +02:00
methodobject.c _PyFunction_FastCallDict() supports keyword args 2016-08-22 23:15:44 +02:00
moduleobject.c Merge #27782 fix from 3.5 2016-08-21 17:43:58 +10:00
namespaceobject.c Issue #24257: Fixed incorrect uses of PyObject_IsInstance(). 2015-05-22 11:02:49 +03:00
object.c Issue #23034: The output of a special Python build with defined COUNT_ALLOCS, 2016-07-03 21:03:53 +03:00
obmalloc.c Issue #26249: Try test_capi on Windows 2016-04-22 18:52:22 +02:00
odictobject.c Merge spelling and grammar fixes from 3.5 2016-08-05 01:51:39 +00:00
rangeobject.c Issue #27333: Simplified testing step on 0. 2016-06-18 09:51:55 +03:00
setobject.c Removed unused initialization and the uninteresting comment. 2016-04-29 01:37:05 -07:00
sliceobject.c fix slice cache finalization to use gc del 2016-04-16 15:12:29 -07:00
structseq.c Issue #25923: Added the const qualifier to static constant arrays. 2015-12-25 19:53:18 +02:00
tupleobject.c Issue #1621: Avoid signed overflow in list and tuple operations 2016-07-25 02:39:20 +00:00
typeobject.c Issue #27809: Use _PyObject_FastCallDict() 2016-08-22 23:33:13 +02:00
typeslots.inc add Py_tp_finalize slot (closes #24345) 2015-06-01 10:12:48 -05:00
typeslots.py Issue #26662: Set PYTHON_FOR_GEN in configure 2016-07-26 12:48:08 +02:00
unicodectype.c Removed unintentional trailing spaces in non-external and non-generated C files. 2015-03-18 21:53:15 +02:00
unicodeobject.c Issue #26754: Undocumented support of general bytes-like objects 2016-08-06 23:29:29 +03:00
unicodetype_db.h upgrade to Unicode 8.0.0 2015-06-27 15:45:56 -05:00
weakrefobject.c Issue #17765: weakref.ref() no longer silently ignores keyword arguments. 2016-05-07 15:43:59 +03:00

README

Source files for various builtin objects