[issue29318] Optimize _PyFunction_FastCallDict() for **kwargs

Serhiy Storchaka report at bugs.python.org
Thu Jan 19 07:09:18 EST 2017


Serhiy Storchaka added the comment:

> It can reduce number of hash() calls.

Keys are strings (even interned strings), and hashes are cached.

In most cases kw is empty or very small. I doubt any optimization can have significant effect.

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

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


More information about the Python-bugs-list mailing list