Return-Path: X-Original-To: notmuch@notmuchmail.org Delivered-To: notmuch@notmuchmail.org Received: from localhost (localhost [127.0.0.1]) by olra.theworths.org (Postfix) with ESMTP id 010F7431FBF for ; Sat, 21 Nov 2009 16:16:30 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org Received: from olra.theworths.org ([127.0.0.1]) by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id kOLgeJS9AW1i for ; Sat, 21 Nov 2009 16:16:29 -0800 (PST) Received: from keithp.com (home.keithp.com [63.227.221.253]) by olra.theworths.org (Postfix) with ESMTP id 4165E431FAE for ; Sat, 21 Nov 2009 16:16:29 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by keithp.com (Postfix) with ESMTP id 710B976012A; Sat, 21 Nov 2009 16:16:28 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at keithp.com Received: from keithp.com ([127.0.0.1]) by localhost (keithp.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id R8Ix7aj5ujEc; Sat, 21 Nov 2009 16:16:25 -0800 (PST) Received: by keithp.com (Postfix, from userid 1033) id B014576012B; Sat, 21 Nov 2009 16:16:25 -0800 (PST) Received: from keithp.com (localhost [127.0.0.1]) by keithp.com (Postfix) with ESMTP id A1F4776012A; Sat, 21 Nov 2009 16:16:25 -0800 (PST) From: Keith Packard To: Carl Worth , Jed Brown , Jan Janak In-Reply-To: <87ocmv338r.fsf@yoom.home.cworth.org> References: <87fx87u3no.fsf@59A2.org> <874oon4pgv.fsf@yoom.home.cworth.org> <87bpivtwr1.fsf@59A2.org> <87ocmv338r.fsf@yoom.home.cworth.org> Date: Sat, 21 Nov 2009 16:16:24 -0800 Message-ID: MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" Cc: notmuch@notmuchmail.org Subject: Re: [notmuch] Asynchronous tagging X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 22 Nov 2009 00:16:30 -0000 --=-=-= Content-Transfer-Encoding: quoted-printable On Sat, 21 Nov 2009 23:46:44 +0100, Carl Worth 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. =2D-=20 keith.packard@intel.com --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iD8DBQFLCILZQp8BWwlsTdMRAiyvAJ0TB0Pv5dX3bAQL9HOV/0xbR0QpWACeJt5N s2vOZ9o6srYaESlmMu8zNzc= =RbYF -----END PGP SIGNATURE----- --=-=-=--