]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Changed Karatsuba cutoff to match current reality.
authorTim Peters <tim.peters@gmail.com>
Mon, 30 Aug 2004 23:18:23 +0000 (23:18 +0000)
committerTim Peters <tim.peters@gmail.com>
Mon, 30 Aug 2004 23:18:23 +0000 (23:18 +0000)
Lib/test/test_long.py

index cbb0b37d914fce4ba40fecf51c9189b6f6b70462..1a04ce92d065a1204c88c6f3cf71bdc1656437a3 100644 (file)
@@ -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.