bpo-46020: Optimize long_pow for the common case (GH-30555)
This cuts a bit of overhead by not initializing the table of small odd powers unless it's needed for a large exponent.
T
Tim Peters committed
fc05e6bfce5d5dfc23859e6f7862c1e707a12e42
Parent: e2a9c8e
Committed by GitHub <noreply@github.com>
on 1/12/2022, 6:55:02 PM