1 Return-Path: <prvs=39138bebc=jrosenthal@jhu.edu>
\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 7616B431FB6
\r
6 for <notmuch@notmuchmail.org>; Tue, 21 Feb 2012 08:33:33 -0800 (PST)
\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org
\r
11 X-Spam-Status: No, score=-2.3 tagged_above=-999 required=5
\r
12 tests=[RCVD_IN_DNSWL_MED=-2.3] autolearn=disabled
\r
13 Received: from olra.theworths.org ([127.0.0.1])
\r
14 by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)
\r
15 with ESMTP id mC2gBWE+O1Cg for <notmuch@notmuchmail.org>;
\r
16 Tue, 21 Feb 2012 08:33:29 -0800 (PST)
\r
17 Received: from ipex2.johnshopkins.edu (ipex2.johnshopkins.edu [162.129.8.151])
\r
18 (using TLSv1 with cipher RC4-SHA (128/128 bits))
\r
19 (No client certificate requested)
\r
20 by olra.theworths.org (Postfix) with ESMTPS id 56EE4431FAE
\r
21 for <notmuch@notmuchmail.org>; Tue, 21 Feb 2012 08:33:29 -0800 (PST)
\r
22 X-IronPort-AV: E=Sophos;i="4.73,458,1325480400"; d="scan'208";a="127519469"
\r
23 Received: from unknown (HELO watt) ([10.161.33.18])
\r
24 by ipex2.johnshopkins.edu with ESMTP/TLS/AES256-SHA;
\r
25 21 Feb 2012 11:33:28 -0500
\r
26 Received: from jkr by watt with local (Exim 4.76)
\r
27 (envelope-from <jrosenthal@jhu.edu>)
\r
28 id 1Rzseo-00028H-Oj; Tue, 21 Feb 2012 11:33:38 -0500
\r
29 From: Jesse Rosenthal <jrosenthal@jhu.edu>
\r
30 To: Daniel Schoepe <daniel@schoepe.org>,
\r
31 Justus Winter <4winter@informatik.uni-hamburg.de>,
\r
32 Philippe LeCavalier <support@plecavalier.com>, notmuch@notmuchmail.org
\r
33 Subject: Re: nomuch_addresses.py
\r
34 In-Reply-To: <87zkccjnst.fsf@schoepe.localhost>
\r
35 References: <87r4xur3rv.fsf@plc.plecavalier.com>
\r
36 <87fweamenf.fsf@schoepe.localhost>
\r
37 <20120221091509.8534.59492@thinkbox.jade-hamburg.de>
\r
38 <87zkccjnst.fsf@schoepe.localhost>
\r
39 User-Agent: Notmuch/0.11.1+192~g36ce7e3 (http://notmuchmail.org)
\r
40 Emacs/24.0.93.1 (i686-pc-linux-gnu)
\r
41 Date: Tue, 21 Feb 2012 11:33:38 -0500
\r
42 Message-ID: <87boosjgd9.fsf@jhu.edu>
\r
44 Content-Type: text/plain
\r
45 X-BeenThere: notmuch@notmuchmail.org
\r
46 X-Mailman-Version: 2.1.13
\r
48 List-Id: "Use and development of the notmuch mail system."
\r
49 <notmuch.notmuchmail.org>
\r
50 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
51 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
52 List-Archive: <http://notmuchmail.org/pipermail/notmuch>
\r
53 List-Post: <mailto:notmuch@notmuchmail.org>
\r
54 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
55 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
56 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
57 X-List-Received-Date: Tue, 21 Feb 2012 16:33:33 -0000
\r
59 On Tue, 21 Feb 2012 14:53:06 +0100, Daniel Schoepe <daniel@schoepe.org> wrote:
\r
60 > On Tue, 21 Feb 2012 09:15:09 -0000, Justus Winter <4winter@informatik.uni-hamburg.de> wrote:
\r
61 > The reason I mentioned nottoomuch-addresses at all, is that completion
\r
62 > itself is _a lot_ faster (at least for me), compared to
\r
63 > addrlookup. According to the wiki, notmuch-addresses.py is even slower
\r
64 > than addrlookup, so I thought (and still think) that it was worth
\r
65 > mentioning. Of course, one could rewrite the database-generation part in
\r
66 > python using the bindings, but I personally don't think it's that
\r
69 I'm not sure what speed comparisons were being used -- I think it was
\r
70 Sebastian comparing vala to python. In any case, using
\r
71 notmuch_addresses.py to look up a common prefix ("Jes") on a slowish
\r
72 computer takes 0.2 seconds. So I'm not sure if the speed is all that
\r
73 much of an issue. It might be a question of cache temperature, though --
\r
74 it'll probably take longer the first time you run it. Still, even trying
\r
75 something out on a cold cache, it seems to be about a second.
\r
77 I guess the question is whether having a second database is worth those
\r
78 extra fractions of a second. I could totally see how it would be for
\r