It looks nice !

It looks nice !

Original motivation:
“card.card_stats_data() became slow after Feat/forgetting curve in card info by L-M-Sherlock · Pull Request #3437 · ankitects/anki · GitHub because it computes the memory state for each revlog. For card with 40+ revlogs, it costs ~400ms to return the result. It’s not perceivable when opening the card info page. But it slows down add-ons which use card_stats_data() to get the revlogs of thoustands of cards significantly.”
Of course it would be preferable to refactor the existing calculation method while reducing the computational complexity to O(n).
Solution:
First beta version since June is available. Enjoy 🙂

Dae decided to implement this feature!!


An interesting feature. Not yet sure if it will be merged …


FSRS optimizer was updated to 5.0.9.

https://github.com/open-spaced-repetition/fsrs4anki/releases/tag/v5.0.4
Implements the new FSRS-5 algorithm.

https://github.com/open-spaced-repetition/py-fsrs/releases/tag/v3.0.0
Scheduler got updated to a new formula.


https://github.com/open-spaced-repetition/fsrs4anki/releases/tag/v5.0.2
The Rust implementation of FSRS was updated to include the new v5 algorithm.

Simple name conversion likely due to confusion, especially now that the upcoming version is bumped to 5.
