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 19:04:31 +0100 Message-ID: <87r50bouhc.fsf@med.uni-goettingen.de> References: <87hb18ngwj.fsf@med.uni-goettingen.de> <87sjkr6obt.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]:57467) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RZnlY-0002Ab-Ut for emacs-orgmode@gnu.org; Sun, 11 Dec 2011 13:04:49 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RZnlY-0006qX-4N for emacs-orgmode@gnu.org; Sun, 11 Dec 2011 13:04:48 -0500 Received: from lo.gmane.org ([80.91.229.12]:42728) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RZnlX-0006qN-Vc for emacs-orgmode@gnu.org; Sun, 11 Dec 2011 13:04:48 -0500 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1RZnlV-0004FV-S5 for emacs-orgmode@gnu.org; Sun, 11 Dec 2011 19:04:45 +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 19:04:45 +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 19:04:45 +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, 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! 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? > 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