[issue27845] Optimize update_keyword_args() function

STINNER Victor report at bugs.python.org
Mon Sep 12 07:42:06 EDT 2016


STINNER Victor added the comment:

_PyStack_AsDict() doesn't check anymore if keys are unique.

BUILD_MAP_UNPACK and BUILD_MAP_UNPACK_WITH_CALL opcodes now use PyDict_Update() to combine mappings and _PyDictView_Intersect() to check if keys are unique.

I don't know if there is still something to optimize. The opcode changed the method to C and Python functions (FASTCALL) changed a lot recently ;-)

I suggest to close the issue.

----------
nosy: +serhiy.storchaka

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue27845>
_______________________________________


More information about the Python-bugs-list mailing list