From mboxrd@z Thu Jan 1 00:00:00 1970 From: Daniel Clemente Subject: Re: [ANN] Lazy cache synchronization Date: Thu, 27 Feb 2014 11:25:01 +0700 Message-ID: <8761o1mbc2.wl%n142857@gmail.com> References: <87ppmh1lq3.fsf@gmail.com> <878usyc7nt.fsf@yahoo.fr> Mime-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Content-Type: text/plain; charset=US-ASCII Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:37848) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WIsX6-0007GG-DQ for emacs-orgmode@gnu.org; Wed, 26 Feb 2014 23:25:24 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WIsWx-0003Ad-W3 for emacs-orgmode@gnu.org; Wed, 26 Feb 2014 23:25:16 -0500 Received: from mail-pd0-x230.google.com ([2607:f8b0:400e:c02::230]:63097) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WIsWx-00039Q-O0 for emacs-orgmode@gnu.org; Wed, 26 Feb 2014 23:25:07 -0500 Received: by mail-pd0-f176.google.com with SMTP id r10so1895058pdi.35 for ; Wed, 26 Feb 2014 20:25:06 -0800 (PST) In-Reply-To: <878usyc7nt.fsf@yahoo.fr> 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: Org Mode List Cc: Nicolas Goaziou > Nicolas Goaziou writes: > > Now, synchronization happens lazily, which means the cache is only > > updated when and where needed, or during idle time. Therefore the cache > > mechanism scales a lot better. > I had been regularly tracking the performance of org-mode for big files, e.g. a 18 Mb one with 380k lines (created only to test this). 1. With last month's org-mode in emacs 24 I needed more than 5 minutes to open it, and then moving around the file was too slow to be comfortable (local editing was however acceptable). 2. With the current one, it's only 10 seconds loading time, local editing is still fast, and jumping around sections takes at most 2 seconds per move. So this change has made me stop worrying about files growing too fast, at least for many years. Thanks!