From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thierry Banel Subject: Re: speeding up Babel Gnuplot Date: Thu, 05 Jan 2017 21:23:30 +0100 Message-ID: <586EAB42.4020800@free.fr> References: <5864217C.7060001@free.fr> <586963CB.1000006@free.fr> <87d1g6qrqh.fsf@nicolasgoaziou.fr> <586AB3DB.6070702@free.fr> <586C1A53.90601@free.fr> <87tw9eg28w.fsf@Rainer.invalid> Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:40330) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cPEZW-0007Gx-AX for emacs-orgmode@gnu.org; Thu, 05 Jan 2017 15:23:39 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cPEZV-0008ON-KE for emacs-orgmode@gnu.org; Thu, 05 Jan 2017 15:23:38 -0500 Received: from smtp3-g21.free.fr ([2a01:e0c:1:1599::12]:56256) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cPEZV-0008O4-DN for emacs-orgmode@gnu.org; Thu, 05 Jan 2017 15:23:37 -0500 Received: from [IPv6:2a01:e35:2e21:def0:6d84:fa8b:21b6:7ab7] (unknown [IPv6:2a01:e35:2e21:def0:6d84:fa8b:21b6:7ab7]) by smtp3-g21.free.fr (Postfix) with ESMTP id 7415113F8DF for ; Thu, 5 Jan 2017 21:23:31 +0100 (CET) In-Reply-To: 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" To: emacs-orgmode@gnu.org Le 05/01/2017 00:15, Charles C. Berry a =E9crit : > On Wed, 4 Jan 2017, Achim Gratz wrote: > > > I'm late to this party, but AFAICS input vars are processed just once. > > Running this: > > #+BEGIN_SRC emacs-lisp :var a=3D(setq runvar (+ 1 runvar)) > a > #+END_SRC > > increments runvar by one each time it is run. > > So this seems not to be a general babel issue. > > ?? > > Chuck > > Right! This is a Babel Gnuplot issue, not a Babel Core one. My findings: 1- Babel Gnuplot generates two temporary files with identical content. 2- This consumes most of the time for large Org tables. 3- This is a Babel Gnuplot issue (only). 4- Babel Core put constraints on the parameters of functions (xxx:gnuplot) (which is fine). To bypass the second file generation under those constraints I have found no other way than a temporary cache.