big: Timed factorial.

This commit is contained in:
Jeroen van Rijn
2021-08-11 20:59:52 +02:00
parent a27612ec6a
commit 627872db97
4 changed files with 35 additions and 24 deletions
+1 -1
View File
@@ -45,7 +45,7 @@ _MAX_ITERATIONS_ROOT_N :: 500;
/*
Largest `N` for which we'll compute `N!`
*/
_FACTORIAL_MAX_N :: 100_000;
_FACTORIAL_MAX_N :: 1_000_000;
/*
Cutoff to switch to int_factorial_binary_split, and its max recursion level.