Skip to content

t_set.c comment update for srandmemberWithCountCommand#7922

Merged
oranagra merged 1 commit intoredis:unstablefrom
pjambet:fix-tset.c-comment
Oct 18, 2020
Merged

t_set.c comment update for srandmemberWithCountCommand#7922
oranagra merged 1 commit intoredis:unstablefrom
pjambet:fix-tset.c-comment

Conversation

@pjambet
Copy link
Contributor

@pjambet pjambet commented Oct 17, 2020

Reference the correct "case", case 4, in the comment explaining the need
for case 3, when the number of request items is too close to the
cardinality of the set. Case 4 is indeed the "natural approach"
referenced earlier in that sentence.


PS: I want to take advantage of this PR for really thanking all the contributors for the quality of code throughout the codebase, it is extremely easy to read and comments, such as the one updated in this PR, make it really easy to browse through the implementation. Kudos!

Reference the correct "case", case 4, in the comment explaining the need
for case 3, when the number of request items is too close to the
cardinality of the set. Case 4 is indeed the "natural approach"
referenced earlier in that sentence.
@oranagra oranagra merged commit f6010e1 into redis:unstable Oct 18, 2020
@oranagra
Copy link
Member

thanks.

JackieXie168 pushed a commit to JackieXie168/redis that referenced this pull request Nov 4, 2020
Reference the correct "case", case 4, in the comment explaining the need
for case 3, when the number of request items is too close to the
cardinality of the set. Case 4 is indeed the "natural approach"
referenced earlier in that sentence.
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