From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andreas Leha Subject: Re: [ANN] Lazy cache synchronization Date: Thu, 27 Feb 2014 09:05:41 +0100 Message-ID: <87ob1t2d62.fsf@med.uni-goettingen.de> References: <87ppmh1lq3.fsf@gmail.com> <878usyc7nt.fsf@yahoo.fr> <8761o1mbc2.wl%n142857@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:41743) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WIvym-00037y-4U for emacs-orgmode@gnu.org; Thu, 27 Feb 2014 03:06:09 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WIvye-0000MI-II for emacs-orgmode@gnu.org; Thu, 27 Feb 2014 03:06:04 -0500 Received: from plane.gmane.org ([80.91.229.3]:43795) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WIvye-0000Lj-BX for emacs-orgmode@gnu.org; Thu, 27 Feb 2014 03:05:56 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1WIvyb-00045Z-AB for emacs-orgmode@gnu.org; Thu, 27 Feb 2014 09:05:53 +0100 Received: from vpn-2028.gwdg.de ([134.76.2.28]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 27 Feb 2014 09:05:53 +0100 Received: from andreas.leha by vpn-2028.gwdg.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 27 Feb 2014 09:05:53 +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 Nicolas, Daniel Clemente writes: >> 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! I do not have measurements, but Org mode (especially navigation) feels so much faster now. Thanks a lot also from my side! - Andreas