Serhiy Storchaka added the comment: > If the patch has a significant overhead: _Py_CheckFunctionResult() may be > marked to be inlined, and PyCFunction_Call() and PyObject_Call() checks may > be marked as unlikely using GCC __builtin_expect(), something like:
Could you please open separate issue or even a topic on Python-Ideas for Py_likely/Py_unlikely? I prefer spelling _Py_LIKELY. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue23571> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com