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

Improve the correctness and efficiency of time storage and ranking calculation #60

Open
lazho opened this issue Oct 13, 2021 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@lazho
Copy link
Member

lazho commented Oct 13, 2021

Currently, the ranking averages are stored in a table and updated on each %addtime. This is kind of equivalent to permanently caching a value that might become incorrect at any time. It also makes displaying the ranking very inefficient, since you will have to pull up all the time entries regardless.

A rewrite of %addtime, as well as %rank, and finally some changes to the schema are needed.

@lazho lazho added the enhancement New feature or request label Oct 13, 2021
@lazho lazho self-assigned this Oct 13, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant