[issue29460] Speed up _PyArg_NoKeywords() and like
STINNER Victor
report at bugs.python.org
Mon Feb 6 03:50:04 EST 2017
STINNER Victor added the comment:
Oh right, I recall that I proposed it. Thanks for this change :-)
The next question might it: would it be worth it to try using unlikely() macro on (kwargs == NULL) test in the macro? ;-)
I'm talking about GCC/Clang __builtin_expect:
#define unlikely(x) __builtin_expect((x),0)
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue29460>
_______________________________________
More information about the Python-bugs-list
mailing list