[issue42942] Feature request: Add decdigest() to hashlib

Gregory P. Smith report at bugs.python.org
Sun Jan 17 14:01:18 EST 2021


Gregory P. Smith <greg at krypto.org> added the comment:

Agreed, using a dict or set hash table lookup is more appropriate for such an algorithm.

Also agreed: comparing python integers (30-bit digit bignums internally) cannot be faster than comparing a binary bytes object.

----------

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


More information about the Python-bugs-list mailing list