[PATCH v2 0/8] Rewrite JSON show format
[notmuch-archives.git] / 52 / fae8767bca41eea69376c767f2eb31ac15d0b0
1 Return-Path: <keithp@keithp.com>\r
2 X-Original-To: notmuch@notmuchmail.org\r
3 Delivered-To: notmuch@notmuchmail.org\r
4 Received: from localhost (localhost [127.0.0.1])\r
5         by olra.theworths.org (Postfix) with ESMTP id 010F7431FBF\r
6         for <notmuch@notmuchmail.org>; Sat, 21 Nov 2009 16:16:30 -0800 (PST)\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
8 Received: from olra.theworths.org ([127.0.0.1])\r
9         by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
10         with ESMTP id kOLgeJS9AW1i for <notmuch@notmuchmail.org>;\r
11         Sat, 21 Nov 2009 16:16:29 -0800 (PST)\r
12 Received: from keithp.com (home.keithp.com [63.227.221.253])\r
13         by olra.theworths.org (Postfix) with ESMTP id 4165E431FAE\r
14         for <notmuch@notmuchmail.org>; Sat, 21 Nov 2009 16:16:29 -0800 (PST)\r
15 Received: from localhost (localhost [127.0.0.1])\r
16         by keithp.com (Postfix) with ESMTP id 710B976012A;\r
17         Sat, 21 Nov 2009 16:16:28 -0800 (PST)\r
18 X-Virus-Scanned: Debian amavisd-new at keithp.com\r
19 Received: from keithp.com ([127.0.0.1])\r
20         by localhost (keithp.com [127.0.0.1]) (amavisd-new, port 10024)\r
21         with LMTP id R8Ix7aj5ujEc; Sat, 21 Nov 2009 16:16:25 -0800 (PST)\r
22 Received: by keithp.com (Postfix, from userid 1033)\r
23         id B014576012B; Sat, 21 Nov 2009 16:16:25 -0800 (PST)\r
24 Received: from keithp.com (localhost [127.0.0.1])\r
25         by keithp.com (Postfix) with ESMTP id A1F4776012A;\r
26         Sat, 21 Nov 2009 16:16:25 -0800 (PST)\r
27 From: Keith Packard <keithp@keithp.com>\r
28 To: Carl Worth <cworth@cworth.org>, Jed Brown <jed@59A2.org>, Jan Janak\r
29         <jan@ryngle.com>\r
30 In-Reply-To: <87ocmv338r.fsf@yoom.home.cworth.org>\r
31 References: <87fx87u3no.fsf@59A2.org> <874oon4pgv.fsf@yoom.home.cworth.org>\r
32         <f35dbb950911211250u5f0e8c05p56da7be3d48bbba8@mail.gmail.com>\r
33         <87bpivtwr1.fsf@59A2.org> <87ocmv338r.fsf@yoom.home.cworth.org>\r
34 Date: Sat, 21 Nov 2009 16:16:24 -0800\r
35 Message-ID: <yunws1jpg6f.fsf@aiko.keithp.com>\r
36 MIME-Version: 1.0\r
37 Content-Type: multipart/signed; boundary="=-=-=";\r
38         micalg=pgp-sha1; protocol="application/pgp-signature"\r
39 Cc: notmuch@notmuchmail.org\r
40 Subject: Re: [notmuch] Asynchronous tagging\r
41 X-BeenThere: notmuch@notmuchmail.org\r
42 X-Mailman-Version: 2.1.12\r
43 Precedence: list\r
44 List-Id: "Use and development of the notmuch mail system."\r
45         <notmuch.notmuchmail.org>\r
46 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
47         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
48 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
49 List-Post: <mailto:notmuch@notmuchmail.org>\r
50 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
51 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
52         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
53 X-List-Received-Date: Sun, 22 Nov 2009 00:16:30 -0000\r
54 \r
55 --=-=-=\r
56 Content-Transfer-Encoding: quoted-printable\r
57 \r
58 On Sat, 21 Nov 2009 23:46:44 +0100, Carl Worth <cworth@cworth.org> wrote:\r
59 \r
60 > So some investigation is needed to see how important that optimization\r
61 > is, and if it's important to see whether there's another way to keep the\r
62 > performance while being able to support renames. (Or alternately,\r
63 > allowing the user to configure an option saying, "I need to support\r
64 > renames even if that means that notmuch new is a bit slower.").\r
65 \r
66 I'd suggest that the best way to make this more efficient would be to\r
67 capture directory contents (along with the directory mtime) and use that\r
68 to detect changes. If we assume that mail messages are never changed, we\r
69 could use that to avoid stat'ing files in directories too.\r
70 \r
71 =2D-=20\r
72 keith.packard@intel.com\r
73 \r
74 --=-=-=\r
75 Content-Type: application/pgp-signature\r
76 \r
77 -----BEGIN PGP SIGNATURE-----\r
78 Version: GnuPG v1.4.10 (GNU/Linux)\r
79 \r
80 iD8DBQFLCILZQp8BWwlsTdMRAiyvAJ0TB0Pv5dX3bAQL9HOV/0xbR0QpWACeJt5N\r
81 s2vOZ9o6srYaESlmMu8zNzc=\r
82 =RbYF\r
83 -----END PGP SIGNATURE-----\r
84 --=-=-=--\r