Changed Karatsuba cutoff to match current reality.

This commit is contained in:
Tim Peters 2004-08-30 23:18:23 +00:00
parent 42cd14d04c
commit daec961e09
1 changed files with 1 additions and 1 deletions

View File

@ -6,7 +6,7 @@ from random import random, randint
SHIFT = 15 SHIFT = 15
BASE = 2 ** SHIFT BASE = 2 ** SHIFT
MASK = BASE - 1 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 # Max number of base BASE digits to use in test cases. Doubling
# this will more than double the runtime. # this will more than double the runtime.