[issue24483] Avoid repeated hash calculation in C implementation of functools.lru_cache()

Serhiy Storchaka report at bugs.python.org
Wed Jun 24 14:16:19 CEST 2015


Serhiy Storchaka added the comment:

I would prefer do not repeat the code, but I afraid this can affect the performance, and the performance of PyDict_GetItem is critical for Python.

----------

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


More information about the Python-bugs-list mailing list