Message284518
Quick update on the fastcall work.
> I pushed th echange b9c9691c72c5 to replace PyObject_CallFunctionObjArgs() with _PyObject_CallNoArg() or _PyObject_CallArg1(). These functions are simpler and don't allocate memory on the C stack.
Using _PyObject_CallArg1() increased the usage of the C stack: see issue #28858. The fix was to remove the _PyObject_CallArg1() macro, replaced with PyObject_CallFunctionObjArgs(func, arg, NULL).
There is still an open issue #28870 to reduce the usage of the C stack memory even more, but it's more a general optimization. |
|
Date |
User |
Action |
Args |
2017-01-03 00:48:39 | vstinner | set | recipients:
+ vstinner, serhiy.storchaka, josh.r |
2017-01-03 00:48:39 | vstinner | set | messageid: <1483404519.6.0.42442409681.issue28839@psf.upfronthosting.co.za> |
2017-01-03 00:48:39 | vstinner | link | issue28839 messages |
2017-01-03 00:48:39 | vstinner | create | |
|