--
You received this message because you are subscribed to the Google Groups "Redis DB" group.
To view this discussion on the web visit https://groups.google.com/d/msg/redis-db/-/GWoIbdh1gZkJ.
To post to this group, send email to redi...@googlegroups.com.
To unsubscribe from this group, send email to redis-db+u...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/redis-db?hl=en.
--
To unsubscribe from this group, send email to redis-db+unsubscribe@googlegroups.com.
O(N*K)+O(M*log(M)) worst case with N being the smallest input sorted
set, K being the number of input sorted sets and M being the number of
elements in the resulting sorted set.
Note the word 'smallest'. So if you have, e.g., 1mm scores, and 1000
players, and the players are split into male and female sets equally,
then zinterstoring the males with the scores will run super fast as
the 500 player set is used as a key. On my horrible old tiny Xen
eighth-fragment of an AMD 8 processor box, doing that interstore takes
.00215 seconds.
There are several designs depending on how much data you have, how
many different types of filters you have, and how much memory you're
willing to trade for speed. The off-the-cuff one I threw out there is
fine for most purposes.
F.
>>> To unsubscribe from this group, send email to redis-db+u...@googlegroups.com.
>>> For more options, visit this group at http://groups.google.com/group/redis-db?hl=en.
>>
>>
> --
> You received this message because you are subscribed to the Google Groups "Redis DB" group.
> To view this discussion on the web visit https://groups.google.com/d/msg/redis-db/-/tvuPhp2yG2UJ.
>
> To post to this group, send email to redi...@googlegroups.com.
> To unsubscribe from this group, send email to redis-db+u...@googlegroups.com.
>>> To unsubscribe from this group, send email to redis-db+unsubscribe@googlegroups.com.
>>> For more options, visit this group at http://groups.google.com/group/redis-db?hl=en.
>>
>>
> --
> You received this message because you are subscribed to the Google Groups "Redis DB" group.
> To view this discussion on the web visit https://groups.google.com/d/msg/redis-db/-/tvuPhp2yG2UJ.
>
> To post to this group, send email to redi...@googlegroups.com.
> To unsubscribe from this group, send email to redis-db+unsubscribe@googlegroups.com.
F.
>> >>> redis-db+u...@googlegroups.com.
>> >>> For more options, visit this group at
>> >>> http://groups.google.com/group/redis-db?hl=en.
>> >>
>> >>
>> > --
>> > You received this message because you are subscribed to the Google
>> > Groups "Redis DB" group.
>> > To view this discussion on the web visit
>> > https://groups.google.com/d/msg/redis-db/-/tvuPhp2yG2UJ.
>> >
>> > To post to this group, send email to redi...@googlegroups.com.
>> > To unsubscribe from this group, send email to
>> > redis-db+u...@googlegroups.com.
>> > For more options, visit this group at
>> > http://groups.google.com/group/redis-db?hl=en.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Redis DB" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/redis-db/-/nexHu_JvNEYJ.
>
> To post to this group, send email to redi...@googlegroups.com.
> To unsubscribe from this group, send email to
> redis-db+u...@googlegroups.com.
>> >>> For more options, visit this group at
>> >>> http://groups.google.com/group/redis-db?hl=en.
>> >>
>> >>
>> > --
>> > You received this message because you are subscribed to the Google
>> > Groups "Redis DB" group.
>> > To view this discussion on the web visit
>> > https://groups.google.com/d/msg/redis-db/-/tvuPhp2yG2UJ.
>> >
>> > To post to this group, send email to redi...@googlegroups.com.
>> > To unsubscribe from this group, send email to
>> > For more options, visit this group at
>> > http://groups.google.com/group/redis-db?hl=en.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Redis DB" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/redis-db/-/nexHu_JvNEYJ.
>
> To post to this group, send email to redi...@googlegroups.com.
> To unsubscribe from this group, send email to