From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jacob Nielsen Subject: Re: Performance of table computing Date: Tue, 31 Mar 2015 13:57:15 +0200 Message-ID: <5azj6t2xd0.fsf@alcensoft.com> References: <86pp7p1mvu.fsf@example.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:45048) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ycuq7-0008TP-Ac for emacs-orgmode@gnu.org; Tue, 31 Mar 2015 08:00:19 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Ycuq1-0000Ik-Pm for emacs-orgmode@gnu.org; Tue, 31 Mar 2015 08:00:15 -0400 Received: from plane.gmane.org ([80.91.229.3]:36828) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ycuq1-0000Hx-Jx for emacs-orgmode@gnu.org; Tue, 31 Mar 2015 08:00:09 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1Ycunj-0008Nw-IX for emacs-orgmode@gnu.org; Tue, 31 Mar 2015 13:57:47 +0200 Received: from x1-6-28-c6-8e-95-93-22.cpe.webspeed.dk ([2.108.129.166]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 31 Mar 2015 13:57:47 +0200 Received: from jacob.nielsen by x1-6-28-c6-8e-95-93-22.cpe.webspeed.dk with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 31 Mar 2015 13:57:47 +0200 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 Sebastien Vauban writes: > Hello, > > In one of my Org files, I have 20 small tables. Among them, 11 have > a line of formula's (TBLFM), mainly for computing a total (sum), so > that's in essence relatively standard and simple. > > The file in itself is quite big (11,000 lines), but I did not expect to > see that re-applying formulas to all of them would take 30 seconds... at > every save... since I did add the following to my `.emacs' file: Try this: # -*- cache-long-scans: nil; -*- # This makes forward-line much faster and thus org-goto-line # and thus org-table-sum (C-c +) My org file is 9990 lines without any tblfmt but I do summations on columns on small tables once a week (invoicing for the week). The speed of C-c + was driving me nuts. > [snip] > Is my observation shared? > Sadly, yes but setting cache-long-scans made me happy again. Best regards, Jacob