open-spaced-repetition / rs-fsrs

Rust-based Scheduler for FSRS
https://crates.io/crates/rs-fsrs
MIT License
24 stars 6 forks source link

keep up with go version #22

Closed asukaminato0721 closed 1 month ago

asukaminato0721 commented 2 months ago

https://github.com/open-spaced-repetition/go-fsrs

currently meet this https://github.com/open-spaced-repetition/go-fsrs/pull/23.

asukaminato0721 commented 2 months ago

@L-M-Sherlock any idea?

L-M-Sherlock commented 2 months ago

busy on https://github.com/open-spaced-repetition/py-fsrs/pull/62

To keep up with go-fsrs, I will ask LLM to port the latest code if nobody helps it.

asukaminato0721 commented 2 months ago

some may helpful code

https://play.rust-lang.org/?version=stable&mode=debug&edition=2021&gist=31856d81822bb57f60b6d0617b938c71

asukaminato0721 commented 1 month ago

For memo https://gitlab.com/antonok/enum_dispatch

For this crate, performance is not important. Box<dyn > is acceptable.