SINTERSTORE
Store the intersection of the given sets into destination.
SINTERSTORE destination key [key ...]
Complexity
O(sum of the source cardinalities) + O(result); same no-smallest-first algorithm
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
SADDSCARDSDIFFSDIFFSTORESINTERSISMEMBERSMEMBERSSPOPSRANDMEMBERSREMSSCANSUNIONSUNIONSTORE