SIGN IN SIGN UP

Issue #19171: speed some cases of 3-argument long pow().

Reduce the base by the modulus when the base is larger than
the modulus.  This can unboundedly speed the "startup costs"
of doing modular exponentiation, particularly in cases where
the base is much larger than the modulus.  Original patch
by Armin Rigo, inspired by https://github.com/pyca/ed25519.
T
Tim Peters committed
81a93159d7a4bfc6a6d06f44528d9d17a8c634c2
Parent: 7760b4e