From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?utf-8?Q?Peter_M=C3=BCnster?= Subject: Re: optimisation of org-notify Date: Mon, 05 Mar 2012 00:37:17 +0100 Message-ID: <87wr70545u.fsf@micropit.couberia.bzh> References: <87hayixwu8.fsf@micropit.couberia.bzh> <7623.1329960485@alphaville> <87vcmyvtcu.fsf@micropit.couberia.bzh> <12871.1330128535@alphaville> <87k43a5ucg.fsf@micropit.couberia.bzh> <18201.1330232699@alphaville> <878vjp6654.fsf_-_@micropit.couberia.bzh> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([208.118.235.92]:44196) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S4Kzb-00086b-E0 for emacs-orgmode@gnu.org; Sun, 04 Mar 2012 18:37:32 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1S4KzZ-0002L5-Lj for emacs-orgmode@gnu.org; Sun, 04 Mar 2012 18:37:30 -0500 Received: from plane.gmane.org ([80.91.229.3]:39793) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S4KzZ-0002KZ-G8 for emacs-orgmode@gnu.org; Sun, 04 Mar 2012 18:37:29 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1S4KzX-0003gd-6V for emacs-orgmode@gnu.org; Mon, 05 Mar 2012 00:37:27 +0100 Received: from arennes-359-1-186-119.w2-2.abo.wanadoo.fr ([2.2.49.119]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 05 Mar 2012 00:37:27 +0100 Received: from pmlists by arennes-359-1-186-119.w2-2.abo.wanadoo.fr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 05 Mar 2012 00:37:27 +0100 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org On Sun, Feb 26 2012, Peter Münster wrote: > On Sun, Feb 26 2012, Nick Dokos wrote: > >> So orgntf-todo-list takes the lion's share of the time but >> most of it is the 15 calls to org-element-parse-buffer > > Ok, then I could process only one file at a time. This would divide the > processing time by 15, in your case. But perhaps others would have the > 7000 lines in one file only, then it would not work... > So, is it worth the effort? The effort was quite small, so I've done it. :) -- Peter