mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
Changed Karatsuba cutoff to match current reality.
This commit is contained in:
parent
42cd14d04c
commit
daec961e09
1 changed files with 1 additions and 1 deletions
|
@ -6,7 +6,7 @@ from random import random, randint
|
|||
SHIFT = 15
|
||||
BASE = 2 ** SHIFT
|
||||
MASK = BASE - 1
|
||||
KARATSUBA_CUTOFF = 35 # from longobject.c
|
||||
KARATSUBA_CUTOFF = 70 # from longobject.c
|
||||
|
||||
# Max number of base BASE digits to use in test cases. Doubling
|
||||
# this will more than double the runtime.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue