[issue27845] Optimize update_keyword_args() function

2016-09-28 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- resolution: -> out of date stage: -> resolved status: open -> closed ___ Python tracker ___ ___ Pyt

[issue27845] Optimize update_keyword_args() function

2016-09-12 Thread STINNER Victor
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

[issue27845] Optimize update_keyword_args() function

2016-08-25 Thread STINNER Victor
STINNER Victor added the comment: See also the issue #27358: "BUILD_MAP_UNPACK_WITH_CALL is slow. -- ___ Python tracker ___ ___ Pytho

[issue27845] Optimize update_keyword_args() function

2016-08-23 Thread STINNER Victor
New submission from STINNER Victor: In the review of my issue #27830 "Add _PyObject_FastCallKeywords(): pass keyword arguments as (key, value) pairs", Antoine Pitrou wrote about _PyStack_AsDict(): "It's a pity that you're doing two dict lookups per keyword argument. Another strategy would be t