On 3/7/16, ??? <wongki02 at gmail.com> wrote: > > but I have a problem of big diff size. this db has the BLOB Data in one > column and bit level data. found the rbu diff function in 'sqldiff.c' file > and i knew that this function will do byte level diff method. > > therefore, I want to use a RBU custom delta format and found the below. >
The function that creates a delta is (https://www.sqlite.org/src/artifact/5a262051?ln=966-972) and the function that applies a delta is (https://www.sqlite.org/src/artifact/371e8bf06cfb?ln=460-466). If you replace these two functions with your own bit-level delta implementation, then it should do what you want. -- D. Richard Hipp drh at sqlite.org