RSync-
 
Sorry about that.  I accidentally reversed the default values I had specified for the window size and the reset block size.  This only effects the outcome if you accept all default values, and don't initialize with your own.
 
The correct default values in the deflate.c file (line 136) should be:
 
#ifndef RSYNC_DEFAULT_WINDOW_SIZE
# define RSYNC_DEFAULT_WINDOW_SIZE 30
#endif
#ifndef RSYNC_DEFAULT_RESET_BLOCK_SIZE
# define RSYNC_DEFAULT_RESET_BLOCK_SIZE 4096
#endif
 
 
 
If you do it the other way around, your rsync performance will be good, but your compression ratio will be a joke.
 
Again, sorry for my sloppiness.  If anyone wants me to post a revised patch, just let me know - the current patch is already held up waiting for moderator approval, and I didn't want to add another one...
 
 
Cheers,
 
- Kevin
 
 
-- 
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

Reply via email to