• Huang Zhw's avatar
    bitpos/bitcount add bit index (#9324) · 75dd2309
    Huang Zhw authored
    Make bitpos/bitcount support bit index:
    
    ```
    BITPOS key bit [start [end [BIT|BYTE]]]
    BITCOUNT key [start end [BIT|BYTE]]
    ```
    
    The default behavior is `BYTE`, so these commands are still compatible with old.
    75dd2309
util.tcl 25.7 KB