[issue14478] Decimal hashing very slow, could be cached

Ramchandra Apte report at bugs.python.org
Thu Apr 5 10:13:01 CEST 2012


Ramchandra Apte <maniandram01 at gmail.com> added the comment:

I recommend that __hash__ should use functools.lru_cache for caching.

----------
nosy: +ramchandra.apte

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


More information about the Python-bugs-list mailing list