Anki 23.12 Beta

Rewrite the optimal retention code. The new code will give different results, and is faster. By @L-M-Sherlock, @asukaminato0721 and @dae in open-spaced-repetition/fsrs-rs#122 and open-spaced-repetition/fsrs-rs#124
The Brent method makes it harder to predict how many iterations will be required, so don’t set a total; the frontend will just display the number of elapsed iterations.

Deck size: 1100
Minutes study/day: 3

Days to Simulate 730
Iteration: 4
Estimated retention: 0.83

Days to Simulate 731
Iteration: 5
Estimated retention: 0.78

different deck (“Iteration: number” starts disappearing at the end if the number of days is over 400 or so, but not always)

Deck size: 5000
Minutes study/day 8
66, 5, 0.78
67, 6, 0.75
68, 5, 0.78
69, 7, 0.77
70-1514, 4, 0.83
1515-1636, 4, 0.87.
1637-1697, 5, 0.92.
1698, 6, 0.94
2000, 6, 0.95

Anki 23.10.1rc4:
66-69, 0.77
70, 0.79
400, 0.82
450, 0.81
500, 0.77
600, 0.80
650, 0.81
700, 0.80
750, 0.77
775, 0.80
800, 0.81
900, 0.81
1000, 0.77
1514, 0.82
1636, 0.83
1700, 0.84
2000, 0.86