The dangers of static buffers in rsync code

Wayne Davison wayned at samba.org
Fri Jan 2 06:41:57 EST 2004


On Mon, Dec 29, 2003 at 06:19:28PM -0800, Wayne Davison wrote:
> Also, optimizing the string-compare case to avoid copying would
> probably be a win as well.

FYI, I've done some simple speed tests on my changes, and it cuts
the user-CPU-seconds in half for a good-sized transfer (~50K files)
where all the files are already up-to-date and all file info is in
memory.  Nice!

..wayne..



More information about the rsync mailing list