In message <[EMAIL PROTECTED]> you write: > window of the data in the file (so that it is position-independent, but > data-dependent). You simply perform a compression reset whenever this > heuristic is true (and N should be a number that's large enough so that you > don't reset too often, yet small enough so that rsync can find the most > matching data). I was thinking a heuristic along the lines of "the least > significant bits of the previous 12 bytes are 101111010101" (a number derived > from my initials), giving an N of 4096. This would allow the compression > resets to sync up at the first run of 12 identical bytes after the change in > the source text.
No, it would allow you to sync up after the first 12 bytes which had those LSBs, ie. after about 4096 bytes. So, you don't win, Rusty. -- Anyone who quotes me in their sig is an idiot. -- Rusty Russell. -- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.tuxedo.org/~esr/faqs/smart-questions.html