by antirez · 15y ago · 0 comments
I really suggest to also looking at GETRANGE and SETRANGE operations that allow to access sub-ranges of a large bitmap fetching or setting arbitrary ranges fo bits.
Probably Lua scripting in 2.6 will enable a lot more interesting things combining server side execution and bitmaps. Thanks for sharing this work.
http://en.wikipedia.org/wiki/Bloom_filter
I'm pretty excited about this.
WATCH
bits = GETRANGE ...
bits = bits | buffered_bits
MULTI
SETRANGE .... bits
EXECAlthough it is another command in a growing list of them. maybe something for lua.
Also, will you create some kind of market for Redis scripts? That seems useful - even if it's just links to Github! ;)