From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost (localhost [127.0.0.1]) by arlo.cworth.org (Postfix) with ESMTP id D898B6DE02B5 for ; Mon, 30 May 2016 04:50:19 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at cworth.org X-Spam-Flag: NO X-Spam-Score: -0.012 X-Spam-Level: X-Spam-Status: No, score=-0.012 tagged_above=-999 required=5 tests=[AWL=-0.001, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01] autolearn=disabled Received: from arlo.cworth.org ([127.0.0.1]) by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id e0-5LYTDP0JU for ; Mon, 30 May 2016 04:50:11 -0700 (PDT) Received: from fethera.tethera.net (fethera.tethera.net [198.245.60.197]) by arlo.cworth.org (Postfix) with ESMTPS id 81ACF6DE01D0 for ; Mon, 30 May 2016 04:50:11 -0700 (PDT) Received: from remotemail by fethera.tethera.net with local (Exim 4.84) (envelope-from ) id 1b7Lhl-0000Oe-UI for notmuch@notmuchmail.org; Mon, 30 May 2016 07:49:57 -0400 Received: (nullmailer pid 14845 invoked by uid 1000); Mon, 30 May 2016 11:50:06 -0000 From: David Bremner To: notmuch@notmuchmail.org Subject: message properties, round 2 Date: Mon, 30 May 2016 08:49:54 -0300 Message-Id: <1464608999-14774-1-git-send-email-david@tethera.net> X-Mailer: git-send-email 2.8.1 In-Reply-To: <1463927339-5441-1-git-send-email-david@tethera.net> References: <1463927339-5441-1-git-send-email-david@tethera.net> X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.20 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: Mon, 30 May 2016 11:50:19 -0000 This is still marked RFC, but is a lot closer to production ready than the last round. In particular it is now integrated with the term caching machinery in message.cc. The main implementation cost is the creation of string-map.c to provide associative arrays of strings, with iterators (basically mimicing the Xapian::TermIterators). I'm not sure if these can replace some of the uses of gmime hash tables in the CLI (or if that would be a good idea), but if so that code could move to util, and probably lose the _notmuch_ prefix.