You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This issue actually is about two different enhancements. One is substantial, one extremely small. Maybe more will be added in the context of this issue later.
Add PFISMEMBER for cardinality estimation.
Add Lua call that performs the same hash function performed by the HLL internals (it's an murmurhash2 modified to be arch neutral).
While PFISMEMBER can only be useful for a limited amount of elements, since our HLL size is fixed, it is always possible to shard elements among multiple keys client-side. This feature was requested many times, and was also mentioned in the London development meetings meetup. It looks like people really want it to get out more out of the HLL feature.
I implemented point 2 of the above suggestions. It's only quick'n'dirty yet. We should export the MurmurHash function properly (I simply added the declaration to scripting.c for now).
Activity
badboy commentedon Oct 28, 2014
I implemented point 2 of the above suggestions. It's only quick'n'dirty yet. We should export the MurmurHash function properly (I simply added the declaration to
scripting.cfor now).