From: Tim Peters Date: Mon, 30 Aug 2004 23:18:23 +0000 (+0000) Subject: Changed Karatsuba cutoff to match current reality. X-Git-Tag: v2.4a3~44 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=daec961e091b76b1329077f505aa8db92a027002;p=thirdparty%2FPython%2Fcpython.git Changed Karatsuba cutoff to match current reality. --- diff --git a/Lib/test/test_long.py b/Lib/test/test_long.py index cbb0b37d914f..1a04ce92d065 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.