Improved search speed by 2.5X

Carl Worth cworth at cworth.org
Tue Nov 16 11:06:50 PST 2010


On Tue, 16 Nov 2010 11:18:43 -0500, Austin Clements <amdragon at MIT.EDU> wrote:
> 'Lo.  I've been toying with switching to notmuch for a while, but the
> speed of search has been holding me back.  Perhaps I should upgrade
> the archaic machine I'm trying to run notmuch on, but I figured
> optimizing search would be a good way for me to cut my teeth on
> notmuch's code.

Hey, if you're going to keep optimizing notmuch, then I say, keep the
old machine! :-)

> Does this all seem reasonable?  My code passes the test suite [1], so
> I believe it to be fairly sound.

Yes. It all sounds quite good. Patches please!

> [1] Except for 2 emacs tests that depend on author order.  What order
> are matched authors *supposed* to be in?

There's an existing bug with author order, (sadly codified in some
current test cases). So this should be a good excuse for fixing that.

-Carl

-- 
carl.d.worth at intel.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://notmuchmail.org/pipermail/notmuch/attachments/20101116/ca9be4a2/attachment.pgp>


More information about the notmuch mailing list