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

computeWeights takes FSRSItems. Added computeWeightsAnki #5

Merged
merged 1 commit into from
Feb 16, 2024

Conversation

AlexErrant
Copy link
Member

@AlexErrant AlexErrant commented Feb 15, 2024

Closes #4

@L-M-Sherlock what do you think of this computeWeights API? In your issue/commit you pass FSRSItems as a string which you deserialize. Instead, my computeWeights takes 3 [u32]s, which I believe is a performance enhancement since it minimizes (de)serialization costs. I believe we should try to optimize perf here since the number of FSRSItems may get very large.

@L-M-Sherlock
Copy link
Member

LGTM. Btw, do you mind being a member of my organization and moving this repository into open-spaced-repetition?

@AlexErrant
Copy link
Member Author

Sure! Shoutout to this comment several months ago. I'm not confident this project is "usable" yet - I'm unsure what APIs should be exposed, but they should be simple to implement as I work through things.

@AlexErrant AlexErrant merged commit e379e29 into main Feb 16, 2024
1 check passed
@AlexErrant AlexErrant deleted the computeWeights branch February 16, 2024 15:46
@L-M-Sherlock
Copy link
Member

I have sent an invitation to you. When you accept it, you will be able to move the repository into our organization. Then I will assign the admin role of this repo to you.

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.

simplify the arguments of fn compute_weights
2 participants