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

Added Sets support #7

Merged
merged 8 commits into from
Oct 15, 2021
Merged

Added Sets support #7

merged 8 commits into from
Oct 15, 2021

Conversation

crodas
Copy link
Owner

@crodas crodas commented Oct 9, 2021

Commands:

  • SADD
  • SCARD
  • SDIFF
  • SDIFFSTORE
  • SINTER
  • SINTERCARD
  • SINTERSTORE
  • SISMEMBER
  • SMEMBERS
  • SMISMEMBER
  • SMOVE
  • SPOP
  • SRANDMEMBER
  • SREM
  • SSCAN
  • SUNION
  • SUNIONSTORE

@crodas crodas self-assigned this Oct 9, 2021
@crodas crodas force-pushed the feature/set branch 14 times, most recently from 5bda9e1 to c50a055 Compare October 13, 2021 00:19
checksum::Value is only useful when comparing items one by one, like in
linked lists. Sets are hashed, so it makes no sense to use
checksum::Value, instead Bytes are used.

This change will reduce the size of stored items in the set and will
avoid cloning data to query the set.
@crodas crodas force-pushed the feature/set branch 2 times, most recently from 9d31656 to 6e69650 Compare October 15, 2021 03:42
@crodas crodas merged commit 0288226 into main Oct 15, 2021
@crodas crodas deleted the feature/set branch October 15, 2021 13:49
crodas added a commit that referenced this pull request Oct 15, 2021
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.

1 participant