1. 26 Agu, 2016 7 kayıt (commit)
  2. 25 Agu, 2016 6 kayıt (commit)
  3. 24 Agu, 2016 24 kayıt (commit)
  4. 23 Agu, 2016 3 kayıt (commit)
    • Victor Stinner's avatar
      Issue #27809: map_next() uses fast call · cdb5cee9
      Victor Stinner yazdı
      Use a small stack allocated in the C stack for up to 5 iterator functions,
      otherwise allocates a stack on the heap memory.
      cdb5cee9
    • Victor Stinner's avatar
      PyObject_CallMethodObjArgs() now uses fast call · dd69564c
      Victor Stinner yazdı
      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).
      dd69564c
    • Victor Stinner's avatar