ZDIFFSTORE
Store the difference of the given sorted sets into destination.
ZDIFFSTORE destination numkeys key [key ...]
Complexity
O(sum of the source cardinalities + R log R); each source is extracted whole on its own shard
Complexity and compatibility are read out of kevy's implementation, not copied from Redis's reference. Several genuinely differ.
Redis compatibility
Compatible
Behaves as Redis does.
See also
BZPOPMINZADDZCARDZCOUNTZINCRBYZINTERCARDZINTERSTOREZPOPMINZPOPMIN.BELOWZRANGEZRANGEBYSCOREZRANKZREMZREMRANGEBYRANKZREMRANGEBYSCOREZREVRANGEBYSCOREZSCANZSCOREZUNIONSTORE