From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: Regex Speedup for org-refresh-category-properties. Date: Tue, 29 Jul 2014 15:23:22 +0200 Message-ID: <87wqawe1th.fsf@bzg.ath.cx> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:52259) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XC7NP-00021u-9D for emacs-orgmode@gnu.org; Tue, 29 Jul 2014 09:23:40 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XC7NJ-0006x4-G9 for emacs-orgmode@gnu.org; Tue, 29 Jul 2014 09:23:35 -0400 Received: from mail-s76.mailgun.info ([184.173.153.204]:36449) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XC7NJ-0006Wq-CM for emacs-orgmode@gnu.org; Tue, 29 Jul 2014 09:23:29 -0400 In-Reply-To: (Malcolm Purvis's message of "Tue, 29 Jul 2014 13:41:14 +1000") 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: Malcolm Purvis Cc: emacs-orgmode@gnu.org Hi Malcolm, Malcolm Purvis writes: > I use the master version of org, and some months ago the time required > to generate my custom agenda view sky rocketed. I've found that 90% of > the time was being spent in the call to re-search-forward in > org-refresh-category-properties. The patch below speeds up the regular > expression search and makes the generation of my agenda as fast as > before. Applied, thanks! -- Bastien