From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost (localhost [127.0.0.1]) by olra.theworths.org (Postfix) with ESMTP id DB10B431FBC for ; Wed, 17 Feb 2010 15:52:21 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: -1.953 X-Spam-Level: X-Spam-Status: No, score=-1.953 tagged_above=-999 required=5 tests=[AWL=0.646, BAYES_00=-2.599] autolearn=ham Received: from olra.theworths.org ([127.0.0.1]) by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id XvRthwv7okRJ for ; Wed, 17 Feb 2010 15:52:20 -0800 (PST) Received: from clegg.madduck.net (clegg.madduck.net [193.242.105.96]) by olra.theworths.org (Postfix) with ESMTP id A5FAB431FAE for ; Wed, 17 Feb 2010 15:52:20 -0800 (PST) Received: from lapse.rw.madduck.net (unknown [IPv6:2404:130:0:1000:20a:e4ff:fe30:4316]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "lapse.rw.madduck.net", Issuer "CAcert Class 3 Root" (verified OK)) by clegg.madduck.net (postfix) with ESMTPS id CC08B1D409C for ; Thu, 18 Feb 2010 00:52:15 +0100 (CET) Received: by lapse.rw.madduck.net (Postfix, from userid 1000) id 9C75BB1E; Thu, 18 Feb 2010 12:52:11 +1300 (NZDT) Date: Thu, 18 Feb 2010 12:52:11 +1300 From: martin f krafft To: notmuch@notmuchmail.org Message-ID: <20100217235211.GC2628@lapse.rw.madduck.net> Mail-Followup-To: notmuch@notmuchmail.org References: <20100215002914.GA22402@flamingspork.com> <20100217012101.GD8249@lapse.rw.madduck.net> <1266418124-sup-6308@ben-laptop> <3wd3a0z7jjv.fsf@mhdcelk-nx01.amd.com> <1266435265-sup-5024@ben-laptop> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-ripemd160; protocol="application/pgp-signature"; boundary="hYooF8G/hrfVAmum" Content-Disposition: inline In-Reply-To: <1266435265-sup-5024@ben-laptop> X-Motto: Keep the good times rollin' X-OS: Debian GNU/Linux squeeze/sid kernel 2.6.32-1-686 i686 X-Spamtrap: madduck.bogus@madduck.net X-Subliminal-Message: debian/rules! User-Agent: Mutt/1.5.20 (2009-06-14) X-Virus-Scanned: clamav-milter 0.95.3 at clegg X-Virus-Status: Clean Subject: Re: Mail in git X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.13 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: Wed, 17 Feb 2010 23:52:22 -0000 --hYooF8G/hrfVAmum Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable also sprach Ben Gamari [2010.02.18.0834 +1300]: > Excerpts from Mark Anderson's message of Wed Feb 17 14:23:48 -0500 > 2010: > > But if we have notmuch as a cache of the tags, then don't we > > already know the tree objects that need updating? Yes, we would > > probably need some consistency checks for when things don't work > > as planned, but in the common case we ought to always know. > >=20 > Cached or not, rewriting would still be an incredibly (e.g. > prohibitively or close to it) expensive operation for a large > mailstore. Why? Well, would involve creating n objects and unlinking n objects for n tags, but it would be constant in the number of messages, no? > > Perhaps I'm misunderstanding these tree objects, and you're > > suggesting that we don't even tell notmuch about them. > >=20 > I think it would be unwise to teach notmuch anything about the > underlying store. That would be leaking way too many > implementation details into I agree. Also, it would introduce redundancy. --=20 martin | http://madduck.net/ | http://two.sentenc.es/ =20 "twenty-four hour room-service must be one of the premiere achievements of modern civilization." -- special agent dale cooper =20 spamtraps: madduck.bogus@madduck.net --hYooF8G/hrfVAmum Content-Type: application/pgp-signature; name="digital_signature_gpg.asc" Content-Description: Digital signature (see http://martin-krafft.net/gpg/) Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iEYEAREDAAYFAkt8gSsACgkQIgvIgzMMSnVgnwCfVX7/3z8VQJMJYi5EVEVudQ9b eT8Anix5rKJr9U+ZqY8F0ZcN7aS+dbmX =XICR -----END PGP SIGNATURE----- --hYooF8G/hrfVAmum--