Complete.Org: Mailing Lists: Archives: offlineimap: September 2007:
Re: Assorted patches
Home

Re: Assorted patches

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: offlineimap@xxxxxxxxxxxx
Subject: Re: Assorted patches
From: "Christian G. Warden" <cwarden@xxxxxxxxx>
Date: Sun, 30 Sep 2007 16:26:49 -0700

On Sun, Sep 30, 2007 at 01:54:56PM -0400, Daniel Jacobowitz wrote:
> Here's the result of a lazy Sunday hacking on offlineimap.  Sorry for
> not breaking this into multiple patches.  They're mostly logically
> independent so just ask if that would make a difference.
> First, a new -q (quick) option.  The quick option means to only update
> folders that seem to have had significant changes.  For Maildir, any
> change to any message UID or flags is significant, because checking
> the flags doesn't add a significant cost.  For IMAP, only a change to
> the total number of messages or a change in the UID of the most recent
> message is significant.  This should catch everything except for
> flags changes.
> 
> The difference in bandwidth is astonishing: a quick sync takes 80K
> instead of 5.3MB, and 28 seconds instead of 90.

Thanks, Daniel.  My initial tests show significant speed improvements,
reducing sync time when there are no changes on either side from 255 to
50 seconds.

Christian



[Prev in Thread] Current Thread [Next in Thread]