Re: [PATCH] Store "from" and "subject" headers in the database.

Subject: Re: [PATCH] Store "from" and "subject" headers in the database.

Date: Sun, 06 Nov 2011 22:41:32 +0100

To: Austin Clements, notmuch@notmuchmail.org

Cc: notmuch@kismala.com

From: Daniel Schoepe


On Sun,  6 Nov 2011 12:17:36 -0500, Austin Clements <amdragon@MIT.EDU> wrote:
> Search retrieves these headers for every message in the search
> results.  Previously, this required opening and parsing every message
> file.  Storing them directly in the database significantly reduces IO
> and computation, speeding up search by between 50% and 10X.

Just tried the patch and I can confirm that, after rebuilding the
database, it makes searches a lot faster.

Cheers,
Daniel
part-000.sig (application/pgp-signature)

Thread: