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 Dennis Sweeney
Recipients BTaskaya, Dennis Sweeney, aeros, asvetlov, carltongibson, chris.jerdonek, eamanu, felixxm, miss-islington, yselivanov
Date 2020-05-22.22:27:10
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1590186430.76.0.460016828027.issue40696@roundup.psfhosted.org>
In-reply-to
Content
Wouldn't Floyd's or Brent's cycle detection algorithms be better here than the allocation of a new set? I believe they might also eliminate the need to fast-path the first 100 or however many.

As in: https://en.wikipedia.org/wiki/Cycle_detection
History
Date User Action Args
2020-05-22 22:27:10Dennis Sweeneysetrecipients: + Dennis Sweeney, asvetlov, chris.jerdonek, yselivanov, eamanu, miss-islington, BTaskaya, aeros, carltongibson, felixxm
2020-05-22 22:27:10Dennis Sweeneysetmessageid: <1590186430.76.0.460016828027.issue40696@roundup.psfhosted.org>
2020-05-22 22:27:10Dennis Sweeneylinkissue40696 messages
2020-05-22 22:27:10Dennis Sweeneycreate