Re: [notmuch] Asynchronous tagging

Subject: Re: [notmuch] Asynchronous tagging

Date: Sat, 21 Nov 2009 16:16:24 -0800

To: Carl Worth, Jed Brown, Jan Janak

Cc: notmuch@notmuchmail.org

From: Keith Packard


On Sat, 21 Nov 2009 23:46:44 +0100, Carl Worth <cworth@cworth.org> wrote:

> So some investigation is needed to see how important that optimization
> is, and if it's important to see whether there's another way to keep the
> performance while being able to support renames. (Or alternately,
> allowing the user to configure an option saying, "I need to support
> renames even if that means that notmuch new is a bit slower.").

I'd suggest that the best way to make this more efficient would be to
capture directory contents (along with the directory mtime) and use that
to detect changes. If we assume that mail messages are never changed, we
could use that to avoid stat'ing files in directories too.

-- 
keith.packard@intel.com
part-000.sig (application/pgp-signature)

Thread: