[PATCH] Store "from" and "subject" headers in the database.
Daniel Schoepe
daniel at schoepe.org
Sun Nov 6 13:41:32 PST 2011
On Sun, 6 Nov 2011 12:17:36 -0500, Austin Clements <amdragon at 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 835 bytes
Desc: not available
URL: <http://notmuchmail.org/pipermail/notmuch/attachments/20111106/c9c9d4be/attachment.pgp>
More information about the notmuch
mailing list