[issue24483] Avoid repeated hash calculation in C implementation of functools.lru_cache()
Serhiy Storchaka
report at bugs.python.org
Sun Jun 21 19:15:59 CEST 2015
Serhiy Storchaka added the comment:
New patch adds _PyDict_DelItem_KnownHash() and uses it to guarantee that the hash is only calculated once.
----------
Added file: http://bugs.python.org/file39761/clru_cache_known_hash_2.patch
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue24483>
_______________________________________
More information about the Python-bugs-list
mailing list