From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andreas Leha Subject: Re: [babel] speed of continued source blocks Date: Sun, 11 Dec 2011 21:00:41 +0100 Message-ID: <87mxayq3o6.fsf@med.uni-goettingen.de> References: <87hb18ngwj.fsf@med.uni-goettingen.de> <87sjkr6obt.fsf@gmx.com> <87r50bouhc.fsf@med.uni-goettingen.de> <87wra353rb.fsf@gmx.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([140.186.70.92]:43647) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RZpa1-0001on-SY for emacs-orgmode@gnu.org; Sun, 11 Dec 2011 15:01:02 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RZpa0-0006Mk-My for emacs-orgmode@gnu.org; Sun, 11 Dec 2011 15:01:01 -0500 Received: from lo.gmane.org ([80.91.229.12]:60608) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RZpa0-0006Md-Ga for emacs-orgmode@gnu.org; Sun, 11 Dec 2011 15:01:00 -0500 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1RZpZw-0000vn-TS for emacs-orgmode@gnu.org; Sun, 11 Dec 2011 21:00:56 +0100 Received: from p57b67e2b.dip.t-dialin.net ([87.182.126.43]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 11 Dec 2011 21:00:56 +0100 Received: from andreas.leha by p57b67e2b.dip.t-dialin.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 11 Dec 2011 21:00:56 +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 Hi Eric, Eric Schulte writes: > 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 >> >> thanks a lot! Works great now. Cheers, Andreas