[notmuch] Asynchronous tagging
Keith Packard
keithp at keithp.com
Sat Nov 21 16:16:24 PST 2009
On Sat, 21 Nov 2009 23:46:44 +0100, Carl Worth <cworth at 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 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/20091121/469948c7/attachment.pgp>
More information about the notmuch
mailing list