You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be nice to replace the split_into_three function from #976 into a similar routine that splits into n for any n. Basically you just call find_best_split(n, ...), then find_best_split(n-1, ...) on the remaining chunk, then find_best_split(n-2, ...), and so on n-1 times.
This would also let us handle other prime factors (e.g. 5) more efficiently.
The text was updated successfully, but these errors were encountered:
It would be nice to replace the
split_into_three
function from #976 into a similar routine that splits inton
for anyn
. Basically you just callfind_best_split(n, ...)
, thenfind_best_split(n-1, ...)
on the remaining chunk, thenfind_best_split(n-2, ...)
, and so onn-1
times.This would also let us handle other prime factors (e.g. 5) more efficiently.
The text was updated successfully, but these errors were encountered: