[Python-checkins] python/dist/src/Lib/test test_long.py,1.23,1.24

tim_one at users.sourceforge.net tim_one at users.sourceforge.net
Tue Aug 31 01:18:25 CEST 2004


Update of /cvsroot/python/python/dist/src/Lib/test
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv19211/Lib/test

Modified Files:
	test_long.py 
Log Message:
Changed Karatsuba cutoff to match current reality.


Index: test_long.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/test/test_long.py,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -d -r1.23 -r1.24
--- test_long.py	3 Feb 2003 15:25:01 -0000	1.23
+++ test_long.py	30 Aug 2004 23:18:23 -0000	1.24
@@ -6,7 +6,7 @@
 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.



More information about the Python-checkins mailing list