Gregory P. Smith <[email protected]> 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 <[email protected]>
<https://bugs.python.org/issue42942>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to