summaryrefslogtreecommitdiffstats
path: root/Python/dynload_hpux.c
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2021-12-05 20:26:10 (GMT)
committerGitHub <noreply@github.com>2021-12-05 20:26:10 (GMT)
commit60c320c38e4e95877cde0b1d8562ebd6bc02ac61 (patch)
treec22e03b50c431a0c46d84d03f20a8ff9f471aaf0 /Python/dynload_hpux.c
parent628abe4463ed40cd54ca952a2b4cc2d6e74073f7 (diff)
downloadcpython-60c320c38e4e95877cde0b1d8562ebd6bc02ac61.zip
cpython-60c320c38e4e95877cde0b1d8562ebd6bc02ac61.tar.gz
cpython-60c320c38e4e95877cde0b1d8562ebd6bc02ac61.tar.bz2
bpo-37295: Optimize math.comb() and math.perm() (GH-29090)
For very large numbers use divide-and-conquer algorithm for getting benefit of Karatsuba multiplication of large numbers. Do calculations completely in C unsigned long long instead of Python integers if possible.
Diffstat (limited to 'Python/dynload_hpux.c')
0 files changed, 0 insertions, 0 deletions