diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2021-12-05 20:26:10 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-05 20:26:10 (GMT) |
commit | 60c320c38e4e95877cde0b1d8562ebd6bc02ac61 (patch) | |
tree | c22e03b50c431a0c46d84d03f20a8ff9f471aaf0 /Python/future.c | |
parent | 628abe4463ed40cd54ca952a2b4cc2d6e74073f7 (diff) | |
download | cpython-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/future.c')
0 files changed, 0 insertions, 0 deletions