[issue41835] Speed up dict vectorcall creation using keywords

Serhiy Storchaka report at bugs.python.org
Sat Oct 31 06:29:17 EDT 2020


Serhiy Storchaka <storchaka+cpython at gmail.com> added the comment:

Both changes add significant amount of code (100 and 85 lines correspondingly). Even if they speed up a particular case of dict constructor it is not common use case.

I think that it would be better to reject these changes. They make maintenance harder, the benefit seems insignificant, and there is always a danger that new code can slow down other code. The dict object is performance critical for python, so it is better to not touch its code without need.

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

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue41835>
_______________________________________


More information about the Python-bugs-list mailing list