Return-Path: X-Original-To: notmuch@notmuchmail.org Delivered-To: notmuch@notmuchmail.org Received: from localhost (localhost [127.0.0.1]) by olra.theworths.org (Postfix) with ESMTP id 28A5E431FBC for ; Wed, 17 Feb 2010 11:34:36 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: -0.866 X-Spam-Level: X-Spam-Status: No, score=-0.866 tagged_above=-999 required=5 tests=[AWL=-0.867, BAYES_50=0.001] 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 LGuPOnnAfisM for ; Wed, 17 Feb 2010 11:34:35 -0800 (PST) Received: from mail-qy0-f187.google.com (mail-qy0-f187.google.com [209.85.221.187]) by olra.theworths.org (Postfix) with ESMTP id 80FAC431FAE for ; Wed, 17 Feb 2010 11:34:35 -0800 (PST) Received: by qyk17 with SMTP id 17so818155qyk.2 for ; Wed, 17 Feb 2010 11:34:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:content-type:cc:subject:from :to:in-reply-to:references:date:message-id:user-agent :content-transfer-encoding; bh=wbSdgdZcVyZUw9G1m3DyVOtjGMWvyRa/NJFB9L8ZuYs=; b=lN5MaWPtzyG6swEr3dLsi/e4vetWO2BS0VhW9fzMkAsIC4BrAwJE5+KyIjOr0573iR wH1jM3M4fzY4+I+4AyMx1WviQSl575IbYIjfqaJmgCp3ilY7GL/huWpKVf/KKZb8E1NE anDvYag0mOT8rt1SZZQnj/t85kB2mGbCTD160= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=content-type:cc:subject:from:to:in-reply-to:references:date :message-id:user-agent:content-transfer-encoding; b=tdowYFrl5G2zn83wJlqEwTu8Q3vkSjKMA01Sfu2dR+TpMCt0u7+BBkzCqexpKJSeJb GUxn7NwWzOfIBFmy7nGtlqnkjs9MMybwReDbbi3fu2MZpzbXrW3KsMhI/day5D0GJT2N eA8LfVHSu4cHb+6VG7nc0xIUCg1B8l7E+W6F4= Received: by 10.224.106.84 with SMTP id w20mr1927118qao.304.1266435274844; Wed, 17 Feb 2010 11:34:34 -0800 (PST) Received: from localhost (umass-959-129.wireless.umass.edu [128.119.77.129]) by mx.google.com with ESMTPS id 36sm19869633vws.17.2010.02.17.11.34.32 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 17 Feb 2010 11:34:33 -0800 (PST) Content-Type: text/plain; charset=UTF-8 From: Ben Gamari To: Mark Anderson In-reply-to: <3wd3a0z7jjv.fsf@mhdcelk-nx01.amd.com> References: <20100215002914.GA22402@flamingspork.com> <20100217012101.GD8249@lapse.rw.madduck.net> <1266418124-sup-6308@ben-laptop> <3wd3a0z7jjv.fsf@mhdcelk-nx01.amd.com> Date: Wed, 17 Feb 2010 14:34:31 -0500 Message-Id: <1266435265-sup-5024@ben-laptop> User-Agent: Sup/git Content-Transfer-Encoding: 8bit Cc: notmuch Subject: Re: [notmuch] 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 19:34:36 -0000 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. > Cached or not, rewriting would still be an incredibly (e.g. prohibitively or close to it) expensive operation for a large mailstore. > Perhaps I'm misunderstanding these tree objects, and you're suggesting > that we don't even tell notmuch about them. > I think it would be unwise to teach notmuch anything about the underlying store. That would be leaking way too many implementation details into - Ben