From mboxrd@z Thu Jan 1 00:00:00 1970 From: Matt Lundin Subject: Re: Slow movement in large buffers Date: Thu, 17 Mar 2011 20:37:41 -0400 Message-ID: <87mxktl0ve.fsf@fastmail.fm> References: <87d3ltjc8x.fsf@fastmail.fm> <17242340-A14F-495A-B144-20C96D52B620@gmail.com> <7205.1300198547@alphaville.dokosmarshall.org> <871v28tm9u.fsf@fastmail.fm> <4D7FE16F.10305@christianmoe.com> <6135.1300229813@alphaville.usa.hp.com> <87r5a7uap6.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from [140.186.70.92] (port=53020 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q0NhO-0007uA-Bf for emacs-orgmode@gnu.org; Thu, 17 Mar 2011 20:37:51 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Q0NhK-0004D3-S6 for emacs-orgmode@gnu.org; Thu, 17 Mar 2011 20:37:50 -0400 Received: from out2.smtp.messagingengine.com ([66.111.4.26]:35364) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Q0NhK-0004Cu-Oi for emacs-orgmode@gnu.org; Thu, 17 Mar 2011 20:37:46 -0400 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Bastien Cc: nicholas.dokos@hp.com, Org Mode , mail@christianmoe.com, Carsten Dominik Bastien writes: > Matt, can you build and locally test such a file? Then instrument > next-line when jumping from headline 1 to 2, to 3, to 4? I'm on the job. :) I'll write back with an official report. Suffice it to say that my early experiments show org-mode cruising through the examples you gave me, but slowing considerably whenever, as you suspected, there are numerous nested overlays. I tried, unwisely, to create a tree consisting of 100 subtrees, each of which contained a quote, a drawer, and 100 additional subtrees, each of which, in turn contained a drawer. It not only took the better part of a minute to cycle the tree, but it sent my emacs memory usage skyrocketing. Needless to say, 10000 nested entries, each with quotes and drawers, is an extreme case. :) Best, Matt