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

Add caching and total room score tracking for multiplayer playlist item statistics #242

Merged
merged 15 commits into from
Jul 26, 2024

Conversation

peppy
Copy link
Sponsor Member

@peppy peppy commented Jul 26, 2024

Still testing this, but it passes CI and seems like it'll work (lol).

peppy and others added 10 commits July 26, 2024 19:02
Note that this doesn't actually perform caching yet. Nor does it have
the more complex part of updating each item's distribution.

One step at a time.
The reason for doing this is mainly that the `LastProcessedScoreID`
update at the end of the method would crash (`.Max()` doesn't like empty
sequences), but being able to skip the lock contention is also very
nice.
@peppy
Copy link
Sponsor Member Author

peppy commented Jul 26, 2024

Reviews should be applied.

Copy link
Collaborator

@bdach bdach left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

seems to work fine

@bdach bdach merged commit 30d269f into ppy:master Jul 26, 2024
2 checks passed
@peppy peppy deleted the cached-stats branch September 18, 2024 04:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants