From ee97ee1526efc77806636217847c36a714b6f09d Mon Sep 17 00:00:00 2001 From: David Bremner Date: Fri, 23 Jan 2015 18:20:53 +0100 Subject: [PATCH] Re: [PATCH] VIM: Improve performance of folders_render --- 1f/b0f11c045d69f1b145b8f7a9c39daa0faa7de3 | 60 +++++++++++++++++++++++ 1 file changed, 60 insertions(+) create mode 100644 1f/b0f11c045d69f1b145b8f7a9c39daa0faa7de3 diff --git a/1f/b0f11c045d69f1b145b8f7a9c39daa0faa7de3 b/1f/b0f11c045d69f1b145b8f7a9c39daa0faa7de3 new file mode 100644 index 000000000..84f3422b5 --- /dev/null +++ b/1f/b0f11c045d69f1b145b8f7a9c39daa0faa7de3 @@ -0,0 +1,60 @@ +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 4741C431FC9 + for ; Fri, 23 Jan 2015 09:22:38 -0800 (PST) +X-Virus-Scanned: Debian amavisd-new at olra.theworths.org +X-Spam-Flag: NO +X-Spam-Score: 2.438 +X-Spam-Level: ** +X-Spam-Status: No, score=2.438 tagged_above=-999 required=5 + tests=[DNS_FROM_AHBL_RHSBL=2.438] autolearn=disabled +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 oQN3qjvUJILp for ; + Fri, 23 Jan 2015 09:22:35 -0800 (PST) +Received: from mx.xen14.node3324.gplhost.com (gitolite.debian.net + [87.98.215.224]) + (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) + (No client certificate requested) + by olra.theworths.org (Postfix) with ESMTPS id 967C6431FBC + for ; Fri, 23 Jan 2015 09:22:35 -0800 (PST) +Received: from remotemail by mx.xen14.node3324.gplhost.com with local (Exim + 4.80) (envelope-from ) + id 1YEhus-0003RY-Mq; Fri, 23 Jan 2015 17:21:06 +0000 +Received: (nullmailer pid 8155 invoked by uid 1000); Fri, 23 Jan 2015 + 17:20:53 -0000 +From: David Bremner +To: Franz Fellner , notmuch@notmuchmail.org +Subject: Re: [PATCH] VIM: Improve performance of folders_render +In-Reply-To: <1421957807-26273-1-git-send-email-alpine.art.de@gmail.com> +References: <1421957807-26273-1-git-send-email-alpine.art.de@gmail.com> +User-Agent: Notmuch/0.19+27~g29ffde4 (http://notmuchmail.org) Emacs/24.4.1 + (x86_64-pc-linux-gnu) +Date: Fri, 23 Jan 2015 18:20:53 +0100 +Message-ID: <87bnlpct1m.fsf@maritornes.cs.unb.ca> +MIME-Version: 1.0 +Content-Type: text/plain +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: Fri, 23 Jan 2015 17:22:38 -0000 + +Franz Fellner writes: + +> Simply use query.count_[messages,threads] instead of actually running +> the query and using the count attribute of the result set. + +pushed to master. + +d -- 2.26.2