From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Schulte Subject: Re: [babel] speed of continued source blocks Date: Sun, 11 Dec 2011 12:04:24 -0700 Message-ID: <87wra353rb.fsf@gmx.com> References: <87hb18ngwj.fsf@med.uni-goettingen.de> <87sjkr6obt.fsf@gmx.com> <87r50bouhc.fsf@med.uni-goettingen.de> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([140.186.70.92]:35881) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RZohM-0000IY-CG for emacs-orgmode@gnu.org; Sun, 11 Dec 2011 14:04:33 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RZohK-0006k6-Km for emacs-orgmode@gnu.org; Sun, 11 Dec 2011 14:04:32 -0500 Received: from mailout-us.gmx.com ([74.208.5.67]:36623 helo=mailout-us.mail.com) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1RZohK-0006k0-E8 for emacs-orgmode@gnu.org; Sun, 11 Dec 2011 14:04:30 -0500 In-Reply-To: <87r50bouhc.fsf@med.uni-goettingen.de> (Andreas Leha's message of "Sun, 11 Dec 2011 19:04:31 +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: Andreas Leha Cc: emacs-orgmode@gnu.org Andreas Leha writes: > Hi Eric, > > thanks for looking into this providing a patch already! > >> I've just pushed up a patch which should speed up the collection of >> continued source blocks. Please let me know if the performance increase >> is sufficient for your example, if not we can look at more dramatic >> methods of optimization or possibly at making the collection of such >> blocks conditional. > > The speed looks very good already! Great, unless I hear back I'll assume this issue is resolved. Thanks for the stress testing. > But now org-babel-expand-src-block (as well es the source block > evaluation) seems not to expand the noweb references at all and more. > Is that a problem only on my side? > Thanks for catching this, I was only testing :noweb-ref references, not named code block references. I've just fixed this issue and added an exercising test case so this won't happen in the future. Please let me know if any problems remain. Cheers, > > >> One option to avoid this overhead could be to add the following >> >> #+PROPERTY: noweb no >> >> to the top of your Org-mode file. > > Since I heavily rely on the noweb references, this is not an option for me. > > Cheers, > Andreas > > -- Eric Schulte http://cs.unm.edu/~eschulte/