Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

speed up computing optimal retention #3072

Merged
merged 2 commits into from Mar 12, 2024

Conversation

L-M-Sherlock
Copy link
Contributor

I promise this PR is the last one related FSRS-rs before the release of Anki 24.04.

Before this PR, it costs ~47s to compute optimal retention when Days to simulate is 3650. Now it is ~36s. It's nearly 24% faster than the previous one.

@dae
Copy link
Member

dae commented Mar 12, 2024

No need to promise; if you notice other problems that need fixing before 24.04 goes out, that's fine. I'll aim to get another build out within a week.

@dae
Copy link
Member

dae commented Mar 12, 2024

Nice work on the speedup!

@dae dae merged commit e8d95de into ankitects:main Mar 12, 2024
1 check passed
@L-M-Sherlock L-M-Sherlock deleted the speed-up-computing-optimal-retention branch April 27, 2024 11:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants