- 09 Ara, 2016 9 kayıt (commit)
-
-
Victor Stinner yazdı
Issue #28915: Replace _PyObject_CallMethodId() with _PyObject_CallMethodIdObjArgs() when the format string was only made of "O" formats, PyObject* arguments. _PyObject_CallMethodIdObjArgs() avoids the creation of a temporary tuple and doesn't have to parse a format string.
-
Victor Stinner yazdı
Issue #28915: Replace _PyObject_CallMethodId() with _PyObject_CallMethodIdObjArgs() when the format string was only made of "O" formats, PyObject* arguments. _PyObject_CallMethodIdObjArgs() avoids the creation of a temporary tuple and doesn't have to parse a format string.
-
Victor Stinner yazdı
Issue #28915: Replace _PyObject_CallMethodId() with _PyObject_CallMethodIdObjArgs() in unpickle(). _PyObject_CallMethodIdObjArgs() avoids the creation of a temporary tuple and doesn't have to parse a format string. Replace _PyObject_CallMethodId() with _PyObject_GetAttrId()+PyObject_Call() for the second call since it requires to "unpack" a tuple. Add also a check in the type of the second parameter (state): it must be a tuple.
-
Victor Stinner yazdı
Issue #28915.
-
Victor Stinner yazdı
-
Victor Stinner yazdı
Issue #28915: Replace _PyObject_CallMethodId() with _PyObject_CallMethodIdObjArgs() when the format string was only made of "O" formats, PyObject* arguments. _PyObject_CallMethodIdObjArgs() avoids the creation of a temporary tuple and doesn't have to parse a format string.
-
Victor Stinner yazdı
Replace PyObject_CallFunction(func, NULL) with _PyObject_CallNoArg(func).
-
Xavier de Gaye yazdı
-
Xavier de Gaye yazdı
when the grp module cannot be imported, as for example on Android platforms.
-
- 08 Ara, 2016 27 kayıt (commit)
-
-
Victor Stinner yazdı
Issue #28915: Replace Py_VaBuildValue()+PyObject_Call() with _PyObject_FastCallVa() to avoid the creation of temporary tuple.
-
Victor Stinner yazdı
Issue #28915: Similar to _PyObject_CallFunctionObjArgs() but use va_list to pass arguments.
-
Victor Stinner yazdı
Issue #28915: Use PyObject_Call() to pass a tuple of positional arguments, instead of relying on _PyObject_CallMethodId() weird behaviour to unpack the tuple.
-
Victor Stinner yazdı
Issue #28915: Avoid calling _PyObject_CallMethodId() with "(...)" format to avoid the creation of a temporary tuple: use Py_BuildValue() with _PyObject_CallMethodIdObjArgs().
-
Victor Stinner yazdı
Issue #28915: Replace _PyObject_CallMethodId() with _PyObject_CallMethodIdObjArgs() when the format string only use the format 'O' for objects, like "(O)". _PyObject_CallMethodIdObjArgs() avoids the code to parse a format string and avoids the creation of a temporary tuple.
-
Victor Stinner yazdı
Issue #28915: Without parenthesis, _PyObject_CallMethodId() avoids the creation a temporary tuple, and so is more efficient.
-
Victor Stinner yazdı
Issue #28915: Use _Py_VaBuildStack() to build a C array of PyObject* and then use _PyObject_FastCall(). The function has a special case if the stack only contains one parameter and the parameter is a tuple: "unpack" the tuple of arguments in this case.
-
Victor Stinner yazdı
Issue #28915: Similar to Py_VaBuildValue(), but work on a C array of PyObject*, instead of creating a tuple.
-
Victor Stinner yazdı
Issue #28915: Py_ssize_t type is better for indexes. The compiler might emit more efficient code for i++. Py_ssize_t is the type of a PyTuple index for example. Replace also "int endchar" with "char endchar".
-
Victor Stinner yazdı
Issue #28915.
-
Victor Stinner yazdı
Issue #28915: Add _PyObject_CallFunctionVa() helper to factorize code of functions: * PyObject_CallFunction() * _PyObject_CallFunction_SizeT() * callmethod()
-
Victor Stinner yazdı
Issue #28915: Add _PyObject_FastCallVa() helper to factorize code of functions: * PyObject_CallFunctionObjArgs() * PyObject_CallMethodObjArgs() * _PyObject_CallMethodIdObjArgs() Inline objargs_mkstack() into _PyObject_FastCallVa(), remove objargs_mkstack().
-
Steve Dower yazdı
-
Victor Stinner yazdı
-
Xavier de Gaye yazdı
-
Xavier de Gaye yazdı
-
Xavier de Gaye yazdı
-
Xavier de Gaye yazdı
-
Xavier de Gaye yazdı
-
Xavier de Gaye yazdı
test_functools hanging on the Android armv7 qemu emulator.
-
Benjamin Peterson yazdı
-
Benjamin Peterson yazdı
-
Ned Deily yazdı
-
Ned Deily yazdı
-
Ned Deily yazdı
-
Yury Selivanov yazdı
-
Yury Selivanov yazdı
-
- 07 Ara, 2016 4 kayıt (commit)
-
-
Steve Dower yazdı
-
INADA Naoki yazdı
-
Serhiy Storchaka yazdı
-
Serhiy Storchaka yazdı
-