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 new commands ZDIFF and ZDIFFSTORE #7961

Merged
merged 25 commits into from Nov 15, 2020
Merged

Commits on Oct 25, 2020

  1. Copy the full SHA
    965ece1 View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    ee7ca2f View commit details
    Browse the repository at this point in the history

Commits on Oct 28, 2020

  1. Add algorithm 2 option to zdiff

    It's the same algorithm used in SDIFF, modified to work with zsets
    in zdiff/zdiffstore.
    felipou committed Oct 28, 2020
    Copy the full SHA
    c292f36 View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    b39b3be View commit details
    Browse the repository at this point in the history
  3. Copy the full SHA
    64b561f View commit details
    Browse the repository at this point in the history
  4. Copy the full SHA
    95c78ed View commit details
    Browse the repository at this point in the history
  5. Copy the full SHA
    8ed99fd View commit details
    Browse the repository at this point in the history
  6. Copy the full SHA
    d147091 View commit details
    Browse the repository at this point in the history
  7. Copy the full SHA
    e7d226c View commit details
    Browse the repository at this point in the history

Commits on Oct 31, 2020

  1. Copy the full SHA
    1efe956 View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    0abf6c8 View commit details
    Browse the repository at this point in the history
  3. Copy the full SHA
    72c51f8 View commit details
    Browse the repository at this point in the history
  4. Copy the full SHA
    d521048 View commit details
    Browse the repository at this point in the history
  5. Copy the full SHA
    58d541b View commit details
    Browse the repository at this point in the history
  6. Copy the full SHA
    fc05b83 View commit details
    Browse the repository at this point in the history
  7. Copy the full SHA
    f7444fc View commit details
    Browse the repository at this point in the history
  8. Minor optimization to zdiff

    If any other set is equal to the first set in zdiff, we're subtracting
    the set from itself, so we already know we'll have an empty set as a
    result.
    felipou committed Oct 31, 2020
    Copy the full SHA
    8d631da View commit details
    Browse the repository at this point in the history
  9. Copy the full SHA
    2e4b312 View commit details
    Browse the repository at this point in the history
  10. Copy the full SHA
    0472a32 View commit details
    Browse the repository at this point in the history
  11. Add more tests for zdiff

    felipou committed Oct 31, 2020
    Copy the full SHA
    714e08e View commit details
    Browse the repository at this point in the history

Commits on Nov 1, 2020

  1. Copy the full SHA
    ac31448 View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    23a3c14 View commit details
    Browse the repository at this point in the history

Commits on Nov 11, 2020

  1. Remove check for nan

    This check was copied from the zunion/zinter commands code, but is
    not needed for zdiff since it doesn't have the WEIGHTS argument.
    felipou committed Nov 11, 2020
    Copy the full SHA
    c7132a0 View commit details
    Browse the repository at this point in the history

Commits on Nov 13, 2020

  1. Update algorithm complexities as per review suggestions

    Review suggestions by oranagra
    
    Co-authored-by: Oran Agra <oran@redislabs.com>
    felipou and oranagra committed Nov 13, 2020
    Copy the full SHA
    dc119ed View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    540a78b View commit details
    Browse the repository at this point in the history