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 tim.peters
Recipients Dennis Sweeney, tim.peters
Date 2022-01-28.03:12:39
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1643339559.85.0.232041588565.issue46558@roundup.psfhosted.org>
In-reply-to
Content
Dennis, partly, although that was more aimed at speeding division, while the approach here doesn't use division at all.

However, thinking about it, the implementation I attached doesn't actually for many cases (it doesn't build as much of the power tree in advance as may be needed). Which I missed because all the test cases I tried had mountains of trailing 0 or 1 bits, not mixtures.

So I'm closing this anyway, at least until I can dream up an approach that always works. Thanks!
History
Date User Action Args
2022-01-28 03:12:39tim.peterssetrecipients: + tim.peters, Dennis Sweeney
2022-01-28 03:12:39tim.peterssetmessageid: <1643339559.85.0.232041588565.issue46558@roundup.psfhosted.org>
2022-01-28 03:12:39tim.peterslinkissue46558 messages
2022-01-28 03:12:39tim.peterscreate