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 mark.dickinson, serhiy.storchaka, steven.daprano, tim.peters
Date 2021-06-11.02:51:59
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1623379920.1.0.970572766907.issue44376@roundup.psfhosted.org>
In-reply-to
Content
This is a stab at reducing overhead for small exponents, along the lines I sketched:

https://github.com/python/cpython/pull/26662

Unfortunately, I've been unable to convince BPO and GitHub to recognize that the PR is related to this report. Did something basic change?

Incidentally, at first this change triggered rare shutdown deaths due to negative refcounts, in the collection of small integer objects. That was a head-scratcher! Turns that was, I believe, due to a "temp = NULL" line missing from earlier code introduced to implement powers of modular inverses.
History
Date User Action Args
2021-06-11 02:52:00tim.peterssetrecipients: + tim.peters, mark.dickinson, steven.daprano, serhiy.storchaka
2021-06-11 02:52:00tim.peterssetmessageid: <1623379920.1.0.970572766907.issue44376@roundup.psfhosted.org>
2021-06-11 02:52:00tim.peterslinkissue44376 messages
2021-06-11 02:51:59tim.peterscreate