summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorTim Peters <tim.peters@gmail.com>2004-08-30 23:18:23 (GMT)
committerTim Peters <tim.peters@gmail.com>2004-08-30 23:18:23 (GMT)
commitdaec961e091b76b1329077f505aa8db92a027002 (patch)
treed1f7e9231f3841f5ecb9f67ef557c7c637ac37e2 /Lib
parent42cd14d04c7d3d88738884823f2bc6bf93701a16 (diff)
downloadcpython-daec961e091b76b1329077f505aa8db92a027002.zip
cpython-daec961e091b76b1329077f505aa8db92a027002.tar.gz
cpython-daec961e091b76b1329077f505aa8db92a027002.tar.bz2
Changed Karatsuba cutoff to match current reality.
Diffstat (limited to 'Lib')
-rw-r--r--Lib/test/test_long.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_long.py b/Lib/test/test_long.py
index cbb0b37..1a04ce9 100644
--- a/Lib/test/test_long.py
+++ b/Lib/test/test_long.py
@@ -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.