Redis-BitMap 梁军 2021-01-21 102 阅读1分钟 1、bitmap的操作 setbit key offset bitvalue getbit key offset bitop op_name target_key src_key1... bitcount key start end:统计字符串被设置为1的bit数. bitpos key bitvalue start end 2、适用场景 二值统计