search for: deflatesetrsyncparamet

Displaying 1 result from an estimated 1 matches for "deflatesetrsyncparamet".

2005 Feb 18
0
Patch for rsyncable zlib with new rolling checksum
...atch without my changes, it is located at https://svn.uhulinux.hu/packages/dev/zlib/patches/02-rsync.patch You can configure the rsyncable behavior (which checksum to use, window size and block size) dynamically (instead of adjusting the #define lines at the beginning of defelate.c) by calling the deflateSetRsyncParameters() function immediately following stream initialization, and before writing anything to the stream. This is good if you want to play with parametric studies, etc... If you set the rolling checksum algorithm to Z_RSYNCABLE_OFF, you will get the exact behavior as zlib without the patch - it will...