diff options
author | Tim Peters <tim.peters@gmail.com> | 2022-01-12 18:55:02 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-12 18:55:02 (GMT) |
commit | fc05e6bfce5d5dfc23859e6f7862c1e707a12e42 (patch) | |
tree | 752b978b00117c5819083a8cb259744401afbb3a /Python/getcompiler.c | |
parent | e2a9c8ef09cb7123d6b28852a323e6cc1f878b5b (diff) | |
download | cpython-fc05e6bfce5d5dfc23859e6f7862c1e707a12e42.zip cpython-fc05e6bfce5d5dfc23859e6f7862c1e707a12e42.tar.gz cpython-fc05e6bfce5d5dfc23859e6f7862c1e707a12e42.tar.bz2 |
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.
Diffstat (limited to 'Python/getcompiler.c')
0 files changed, 0 insertions, 0 deletions