summaryrefslogtreecommitdiffstats
path: root/Python/pystate.c
diff options
context:
space:
mode:
authorTim Peters <tim.peters@gmail.com>2022-01-04 02:41:16 (GMT)
committerGitHub <noreply@github.com>2022-01-04 02:41:16 (GMT)
commit3aa5242b54b0627293d95cfb4a26b2f917f667be (patch)
tree8eabfea439813b7a1abe90fe7dfa1b81eaf02910 /Python/pystate.c
parentf1a58441eea6b7788c64d03a80ea35996301e550 (diff)
downloadcpython-3aa5242b54b0627293d95cfb4a26b2f917f667be.zip
cpython-3aa5242b54b0627293d95cfb4a26b2f917f667be.tar.gz
cpython-3aa5242b54b0627293d95cfb4a26b2f917f667be.tar.bz2
bpo-46233: Minor speedup for bigint squaring (GH-30345)
x_mul()'s squaring code can do some redundant and/or useless work at the end of each digit pass. A more careful analysis of worst-case carries at various digit positions allows making that code leaner.
Diffstat (limited to 'Python/pystate.c')
0 files changed, 0 insertions, 0 deletions