]> git.saurik.com Git - redis.git/commit
Bit-related string operations moved to bitop.c
authorantirez <antirez@gmail.com>
Sat, 19 May 2012 08:33:20 +0000 (10:33 +0200)
committerantirez <antirez@gmail.com>
Thu, 24 May 2012 13:24:14 +0000 (15:24 +0200)
commit84ec6706cfe05f699fdbc196ae5506cd99d89863
tree49f7daa75e9bc07047254a89a929f4cf55b3ee21
parent1f40cdd0e54394dc2fe007e135ac9b6b9f715950
Bit-related string operations moved to bitop.c

All the general string operations are implemented in t_string.c, however
the bit operations, while targeting the string type, are better served
in a specific file where we have the implementations of the following
four commands and helper functions:

    GETBIT
    SETBIT
    BITOP
    BITCOUNT

In the future this file will probably contain more code related to
making the BITOP and BITCOUNT operations faster.
src/Makefile
src/bitop.c [new file with mode: 0644]
src/t_string.c