SIGN IN SIGN UP

bpo-46407: Optimizing some modulo operations (GH-30653)

Added new internal functions to compute mod without also computing the quotient.

The loops can be leaner then, which leads to modestly but reliably faster execution in contexts that know they don't need the quotient.

Code by Jeremiah Vivian (Pascual).
C
Crowthebird committed
f10dafc430279b4e6cf5b981ae3d1d76e8f431ad
Parent: e7a6285
Committed by GitHub <noreply@github.com> on 1/28/2022, 12:46:45 AM