[PATCH 0/5] Fetch all message metadata in a single pass

Austin Clements amdragon at mit.edu
Sun Feb 13 12:25:48 PST 2011


I've rebased this against current master and fixed a few merge
conflicts.  The rebased patches are on the eager-metadata-v3 branch of
  http://awakening.csail.mit.edu/git/notmuch.git

On Thu, Dec 9, 2010 at 3:59 PM, Austin Clements <amdragon at mit.edu> wrote:
> This is the second of the two optimizations I described a while ago,
> and brings my inbox search down to 1.811 seconds, 2.5X faster than it
> was originally.
>
> This optimization is based on the observation that Xapian decompresses
> a document's term list every time you iterate over it.  As a result,
> notmuch can decompress the beginning of a single term list quite a few
> times.  This patch series combines all of this into a single pass that
> is only slightly more expensive than fetching one metadata field used
> to be, but offers a huge win in the common case where a message object
> is used for multiple metadata fields.
>
> _______________________________________________
> notmuch mailing list
> notmuch at notmuchmail.org
> http://notmuchmail.org/mailman/listinfo/notmuch
>


More information about the notmuch mailing list