-
Notifications
You must be signed in to change notification settings - Fork 24.6k
[NEW] ZINTER/ZUNION support #7624
Copy link
Copy link
Closed
Labels
Description
The problem/use-case that the feature addresses
The user only wants to view the result of the intersection or union and does not want to store it.
Alternatives you've considered
I think the reasons for support are as follows:
- Unification at the API level, such as sinter/sunion
- Using lua to achieve the same function requires three commands, which is expensive.
Additional information
In this post, antirez explained that zinter/zunion can be replaced by z[inter/union]store + zrange + del: https://groups.google.com/forum/#!topic/redis-db/ku0bCxxcMis
Reactions are currently unavailable