This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author gregory.p.smith
Recipients 2d4d, christian.heimes, gregory.p.smith
Date 2021-01-17.19:01:18
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1610910078.38.0.24688630847.issue42942@roundup.psfhosted.org>
In-reply-to
Content
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.
History
Date User Action Args
2021-01-17 19:01:18gregory.p.smithsetrecipients: + gregory.p.smith, christian.heimes, 2d4d
2021-01-17 19:01:18gregory.p.smithsetmessageid: <1610910078.38.0.24688630847.issue42942@roundup.psfhosted.org>
2021-01-17 19:01:18gregory.p.smithlinkissue42942 messages
2021-01-17 19:01:18gregory.p.smithcreate