big: Disable Toom for a moment.

This commit is contained in:
Jeroen van Rijn
2021-08-16 22:13:54 +02:00
parent 706e58c1c7
commit 48c1f0ab59
4 changed files with 15 additions and 7 deletions
+5 -1
View File
@@ -674,7 +674,11 @@ internal_int_mul :: proc(dest, src, multiplier: ^Int, allocator := context.alloc
*/
max_used >= 2 * min_used {
// err = s_mp_mul_balance(a,b,c);
} else if min_used >= MUL_TOOM_CUTOFF {
} else if false && min_used >= MUL_TOOM_CUTOFF {
/*
Toom path commented out until it no longer fails Factorial 10k or 100k,
as reveaved in the long test.
*/
err = #force_inline _private_int_mul_toom(dest, src, multiplier);
} else if min_used >= MUL_KARATSUBA_CUTOFF {
err = #force_inline _private_int_mul_karatsuba(dest, src, multiplier);