antirez/redis — pull request #1158 by dim (2013-06-15 09:23:00+00:00)
Title: Added BITPOS command

I added a `BITPOS` operation to Redis, which accepts `[start end limit]` arguments. As the name suggests, it operates on bit strings and returns the positions (offsets) of all the set bits. My C is a little rusty, so it might need a little review/improvements.