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

use SortedSetLength for zcount #562

Merged

Conversation

huoshan12345
Copy link
Contributor

@huoshan12345 huoshan12345 commented Dec 25, 2024

What Changed

  • Use SortedSetLength for ZCount
  • Use SortedSetLengthAsync for ZCountAsync

Why This Change

The current used method SortedSetLengthByValue is actually used for ZLexCount not for ZCount.
See related issue on StackExchange/StackExchange.Redis#1034

@catcherwong catcherwong merged commit af54dba into dotnetcore:dev Dec 25, 2024
4 checks passed
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.

2 participants