Author mark.dickinson
Recipients mark.dickinson, rhettinger, tim.peters
Date 2019-08-15.18:34:11
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1565894051.73.0.431419919488.issue37863@roundup.psfhosted.org>
In-reply-to
Content
> Indeed, I bet it would pay in `long_pow()` to add another test, under the `if (Py_SIZE(b) < 0)` branch, to skip the exponentiation part entirely when b is -1.

Agreed.
History
Date User Action Args
2019-08-15 18:34:11mark.dickinsonsetrecipients: + mark.dickinson, tim.peters, rhettinger
2019-08-15 18:34:11mark.dickinsonsetmessageid: <1565894051.73.0.431419919488.issue37863@roundup.psfhosted.org>
2019-08-15 18:34:11mark.dickinsonlinkissue37863 messages
2019-08-15 18:34:11mark.dickinsoncreate