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

Adds include? to ordered set #126

Merged
merged 5 commits into from
Oct 19, 2023
Merged

Conversation

EduardoAntequera
Copy link
Contributor

Given that ordered set is using the underlying Redis sorted set, I believe it can be usefull to have the 'include?' function also there to check if an element or number of elements are already there by using Redis zrank.

@EduardoAntequera EduardoAntequera marked this pull request as draft August 21, 2023 20:47
@EduardoAntequera EduardoAntequera marked this pull request as ready for review August 21, 2023 21:05
EduardoAntequera and others added 2 commits August 23, 2023 19:36
Co-authored-by: Lewis Buckley <lewis@lewisbuckley.co.uk>
@dhh dhh merged commit b907559 into rails:main Oct 19, 2023
17 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants