[PATCH] bitmap:improve memory usage using CHAR_BITS and unsigned CHAR
[notmuch-archives.git] / 56 / 213cb65bfdcbdac9b009e038eeb3d97c28b709
1 Return-Path: <amdragon@mit.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 160C0431FD2\r
6         for <notmuch@notmuchmail.org>; Tue,  3 Jul 2012 15:21:07 -0700 (PDT)\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
8 X-Spam-Flag: NO\r
9 X-Spam-Score: -0.7\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=-0.7 tagged_above=-999 required=5\r
12         tests=[RCVD_IN_DNSWL_LOW=-0.7] 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 fKRBEosuIqiW for <notmuch@notmuchmail.org>;\r
16         Tue,  3 Jul 2012 15:21:06 -0700 (PDT)\r
17 Received: from dmz-mailsec-scanner-3.mit.edu (DMZ-MAILSEC-SCANNER-3.MIT.EDU\r
18         [18.9.25.14])\r
19         by olra.theworths.org (Postfix) with ESMTP id 4627C431FAE\r
20         for <notmuch@notmuchmail.org>; Tue,  3 Jul 2012 15:21:06 -0700 (PDT)\r
21 X-AuditID: 1209190e-b7fb56d0000008b2-5b-4ff370513daf\r
22 Received: from mailhub-auth-2.mit.edu ( [18.7.62.36])\r
23         by dmz-mailsec-scanner-3.mit.edu (Symantec Messaging Gateway) with SMTP\r
24         id 68.C6.02226.15073FF4; Tue,  3 Jul 2012 18:21:05 -0400 (EDT)\r
25 Received: from outgoing.mit.edu (OUTGOING-AUTH.MIT.EDU [18.7.22.103])\r
26         by mailhub-auth-2.mit.edu (8.13.8/8.9.2) with ESMTP id q63ML4C0022242; \r
27         Tue, 3 Jul 2012 18:21:04 -0400\r
28 Received: from drake.dyndns.org (26-4-182.dynamic.csail.mit.edu [18.26.4.182])\r
29         (authenticated bits=0)\r
30         (User authenticated as amdragon@ATHENA.MIT.EDU)\r
31         by outgoing.mit.edu (8.13.6/8.12.4) with ESMTP id q63ML0Dx023217\r
32         (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NOT);\r
33         Tue, 3 Jul 2012 18:21:02 -0400 (EDT)\r
34 Received: from amthrax by drake.dyndns.org with local (Exim 4.77)\r
35         (envelope-from <amdragon@mit.edu>)\r
36         id 1SmBSu-0007fI-Uw; Tue, 03 Jul 2012 18:21:00 -0400\r
37 From: Austin Clements <amdragon@MIT.EDU>\r
38 To: notmuch@notmuchmail.org\r
39 Subject: [PATCH 0/8] JSON-based search-mode\r
40 Date: Tue,  3 Jul 2012 18:20:51 -0400\r
41 Message-Id: <1341354059-29396-1-git-send-email-amdragon@mit.edu>\r
42 X-Mailer: git-send-email 1.7.10\r
43 X-Brightmail-Tracker:\r
44  H4sIAAAAAAAAA+NgFtrBIsWRmVeSWpSXmKPExsUixG6nohtY8Nnf4NNHXYsje2axWyw985/Z\r
45         4vrNmcwWb1bOY3Vg8dg56y67x+GvC1k8nq26xezR9GMxawBLFJdNSmpOZllqkb5dAldG97uj\r
46         7AWdnBUPOi+zNTAuY+9i5OSQEDCRmPRsHyOELSZx4d56ti5GLg4hgX2MEvsXPGCGcNYzSjQ8\r
47         WcEC4Zxkkug/O5UJpEVIYC6jxJJNfiA2m4CGxLb9y8FGiQhIS+y8O5sVxGYWcJDYcuYMWFxY\r
48         QFvi+smjQCs4OFgEVCVeHVYACfMClfxZ/IAV4gp5iaf3+9gmMPIuYGRYxSibklulm5uYmVOc\r
49         mqxbnJyYl5dapGusl5tZopeaUrqJERRAnJJ8Oxi/HlQ6xCjAwajEw5us8NlfiDWxrLgy9xCj\r
50         JAeTkijvlTygEF9SfkplRmJxRnxRaU5q8SFGCQ5mJRHe1UlAOd6UxMqq1KJ8mJQ0B4uSOO+V\r
51         lJv+QgLpiSWp2ampBalFMFkZDg4lCd7WfKBGwaLU9NSKtMycEoQ0EwcnyHAeoOHZIDW8xQWJ\r
52         ucWZ6RD5U4yKUuK8O0ESAiCJjNI8uF5YhL9iFAd6RZi3E6SKB5gc4LpfAQ1mAhqct/gTyOCS\r
53         RISUVANjXPT2JtG1W8p2vS9h8JFd9ofJdhLn9AdLjypPYp4qMHfWDMu8pp03JO4tvnwye+vV\r
54         HXOnW7xoYBfVFq1kWyHHJd7kwbHva588D4NrwnIWV3Oj7vTrhWsSL6UcfGq6Y+PG2Runh9zp\r
55         Ua/Xsqv+kZm5W6vPrWvr80rT3dslX5/5oONUubha7XKqEktxRqKhFnNRcSIANFQeYMsCAAA=\r
56 Cc: tomi.ollila@iki.fi\r
57 X-BeenThere: notmuch@notmuchmail.org\r
58 X-Mailman-Version: 2.1.13\r
59 Precedence: list\r
60 List-Id: "Use and development of the notmuch mail system."\r
61         <notmuch.notmuchmail.org>\r
62 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
63         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
64 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
65 List-Post: <mailto:notmuch@notmuchmail.org>\r
66 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
67 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
68         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
69 X-List-Received-Date: Tue, 03 Jul 2012 22:21:07 -0000\r
70 \r
71 This patch series replaces the text format parser used for search in\r
72 Emacs with a parser for the JSON format.  This should address the\r
73 escaping and flexibility problems that have plagued the text format.\r
74 Like the text format, it supports incremental output.\r
75 \r
76 Patches 1-4 simply clean up the Emacs search code and could be pushed\r
77 before the rest of the series.  Patch 5 switches to the JSON plist\r
78 representation internally, but retains the text parser.  This requires\r
79 some changes to the text parser to keep things working, but don't get\r
80 too hung up on them since it's about to get replaced entirely.  Patch\r
81 6 adds a test.\r
82 \r
83 Finally, patches 7 and 8 are the real meat.  Patch 7 introduces a\r
84 general incremental JSON parser.  For search, we could probably get\r
85 away with a simpler, hacky approach, but an incremental JSON parser is\r
86 the type of thing you only want to write once---hacky or not---and it\r
87 seems like the type of thing that could be useful elsewhere, too.\r
88 It's general enough to support things like incremental show buffer\r
89 rendering.\r
90 \r
91 Patch 8 rewrites the search output parser to use the JSON format via\r
92 this incremental parser.\r
93 \r