From daec961e091b76b1329077f505aa8db92a027002 Mon Sep 17 00:00:00 2001 From: Tim Peters Date: Mon, 30 Aug 2004 23:18:23 +0000 Subject: [PATCH] Changed Karatsuba cutoff to match current reality. --- Lib/test/test_long.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/test/test_long.py b/Lib/test/test_long.py index cbb0b37d914..1a04ce92d06 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.