diff options
| author | Serhiy Storchaka <storchaka@gmail.com> | 2021-12-05 22:26:10 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-12-05 22:26:10 +0200 |
| commit | 60c320c38e4e95877cde0b1d8562ebd6bc02ac61 (patch) | |
| tree | c22e03b50c431a0c46d84d03f20a8ff9f471aaf0 /Lib/types.py | |
| parent | 628abe4463ed40cd54ca952a2b4cc2d6e74073f7 (diff) | |
| download | cpython-git-60c320c38e4e95877cde0b1d8562ebd6bc02ac61.tar.gz | |
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 'Lib/types.py')
0 files changed, 0 insertions, 0 deletions
