Re: [PATCH v3 0/6] Make Emacs search use sexp format
[notmuch-archives.git] / 5f / 4484e78041ad054bd21527b173817a1e006172
1 Return-Path: <gmn-notmuch@m.gmane.org>\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 0C1CB429E21\r
6         for <notmuch@notmuchmail.org>; Sat, 19 Nov 2011 07:11:31 -0800 (PST)\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
8 X-Spam-Flag: NO\r
9 X-Spam-Score: -2.3\r
10 X-Spam-Level: \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 YaD7pNKB5dCS for <notmuch@notmuchmail.org>;\r
16         Sat, 19 Nov 2011 07:11:30 -0800 (PST)\r
17 Received: from lo.gmane.org (lo.gmane.org [80.91.229.12])\r
18         by olra.theworths.org (Postfix) with ESMTP id 2C765431FD0\r
19         for <notmuch@notmuchmail.org>; Sat, 19 Nov 2011 07:11:30 -0800 (PST)\r
20 Received: from list by lo.gmane.org with local (Exim 4.69)\r
21         (envelope-from <gmn-notmuch@m.gmane.org>) id 1RRmZi-0004BB-AQ\r
22         for notmuch@notmuchmail.org; Sat, 19 Nov 2011 16:11:26 +0100\r
23 Received: from login1.uio.no ([129.240.12.9])\r
24         by main.gmane.org with esmtp (Gmexim 0.1 (Debian))\r
25         id 1AlnuQ-0007hv-00\r
26         for <notmuch@notmuchmail.org>; Sat, 19 Nov 2011 16:11:26 +0100\r
27 Received: from pere by login1.uio.no with local (Gmexim 0.1 (Debian))\r
28         id 1AlnuQ-0007hv-00\r
29         for <notmuch@notmuchmail.org>; Sat, 19 Nov 2011 16:11:26 +0100\r
30 X-Injected-Via-Gmane: http://gmane.org/\r
31 To: notmuch@notmuchmail.org\r
32 From: Petter Reinholdtsen <pere@hungry.com>\r
33 Subject: Re: [PATCH] dump: Don't sort.\r
34 Date: Sat, 19 Nov 2011 16:11:13 +0100\r
35 Organization: University of Oslo, Norway\r
36 Lines: 14\r
37 Message-ID: <2flr514171q.fsf@login1.uio.no>\r
38 References: <1319884657-5574-1-git-send-email-thomas@schwinge.name>\r
39 Mime-Version: 1.0\r
40 Content-Type: text/plain; charset=us-ascii\r
41 X-Complaints-To: usenet@dough.gmane.org\r
42 X-Gmane-NNTP-Posting-Host: login1.uio.no\r
43 User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.2 (gnu/linux)\r
44 Cancel-Lock: sha1:HASitDn2i9B+2Hxu7e1qwCr3bL4=\r
45 X-BeenThere: notmuch@notmuchmail.org\r
46 X-Mailman-Version: 2.1.13\r
47 Precedence: list\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: Sat, 19 Nov 2011 15:11:31 -0000\r
58 \r
59 \r
60 [Thomas Schwinge]\r
61 > +    /* This used to use NOTMUCH_SORT_MESSAGE_ID.  On 2011-10-29, a measurement\r
62 > +     * on a 372981 messages instance showed that wall time can be reduced from\r
63 > +     * 28 minutes (sorted by Message-ID) to 15 minutes (unsorted), the latter\r
64 > +     * being much more ``database-disk-layout-friendly''.  Subsequently sorting\r
65 > +     * the 25 MiB of data is a no-brainer, if required.  */\r
66 \r
67 This sound like a great idea for my use case.  Doing 'notmuch dump'\r
68 with my 1.2 million emails take hours at the moment (not very fast\r
69 encrypted file system), and result in a 90 MiB dump file.\r
70 -- \r
71 Happy hacking\r
72 Petter Reinholdtsen\r
73 \r