all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Carsten Dominik <carsten.dominik@gmail.com>
To: Scott Randby <srandby@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Slow movement in large buffers
Date: Tue, 15 Mar 2011 18:38:45 +0100	[thread overview]
Message-ID: <2676153B-C8D1-4EFA-B2A1-04779ED91BE0@gmail.com> (raw)
In-Reply-To: <4D7F9E82.90301@gmail.com>


On 15.3.2011, at 18:14, Scott Randby wrote:

> On 03/15/2011 12:11 PM, Chris Randle wrote:
>> Hi Matt
>> 
>> On 2011-03-15 03:25, Matt Lundin wrote:
>>> I've been navigating the org-issues file (14000+ lines) and have
>>> found movement within the file to be fairly slow. Sometimes Emacs
>>> will lock up for several seconds.
>> <snip>
>>> Do others have the same experience? If so, does anyone have any tips
>>> on how to diagnose this further?
>> 
>> I keep all my info in one big Org-mode file which is currently just shy
>> of 115,000 lines. There's the occasional "stutter" of a fraction of a
>> second when I move across closed nodes containing large chunks, but it's
>> still perfectly acceptable (to me, anyway!).
>> 
>> My PC is an Intel dual-core 2.66GHz with 4GB RAM, so nothing
>> earth-shattering.
>> 
> 
> I have a netbook running an Intel dual-core 1.66GHz and 2GB RAM. I
> opened up org-issues.org and navigated through it without difficulty.
> There was a delay for about a second when I unfolded the "Development
> Tasks" headline, but there were no delays after that. Vertical movement
> is instantaneous.


One reason why the motion in a folded buffer is slow:
calling next line on the heading of a folded tree must
move down potentially thousands of buffer lines.  In each buffer
line it checks if the text is still invisible and then moves one.
So this kind of buffer motion is not optimized for outline
buffers.  Still, what Matt and others report is unacceptable,
and there must be a solution.  I have very slight delays
in org-issues.org, but nothing like 5 seconds.   Fractions
of a second, at most.

- Carsten

> 
> Scott Randby
> 

  parent reply	other threads:[~2011-03-15 17:39 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-15  3:25 Slow movement in large buffers Matt Lundin
2011-03-15  5:03 ` Carsten Dominik
2011-03-15 12:51   ` Matt Lundin
2011-03-15 10:58 ` Eric S Fraga
2011-03-15 12:54   ` Matt Lundin
2011-03-15 14:09     ` Eric S Fraga
2011-03-15 17:42       ` Carsten Dominik
2011-03-15 11:18 ` Carsten Dominik
2011-03-15 12:33   ` Lawrence Mitchell
2011-03-15 12:50   ` Matt Lundin
2011-03-15 14:15   ` Nick Dokos
2011-03-15 15:51     ` Matt Lundin
2011-03-15 17:39       ` Carsten Dominik
2011-03-15 22:00       ` Christian Moe
2011-03-15 22:56         ` Nick Dokos
2011-03-15 23:13           ` Christian Moe
2011-03-16  3:48             ` Nick Dokos
2011-03-16  1:16           ` Bastien
2011-03-18  0:37             ` Matt Lundin
2011-03-15 16:11 ` Chris Randle
2011-03-15 16:41   ` MidLifeXis at PerlMonks
2011-03-15 17:14   ` Scott Randby
2011-03-15 17:18     ` Erik Iverson
2011-03-15 17:38     ` Carsten Dominik [this message]
2011-05-11  0:41       ` Carmine Casciato
2011-05-12  6:59         ` Eric S Fraga

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=2676153B-C8D1-4EFA-B2A1-04779ED91BE0@gmail.com \
    --to=carsten.dominik@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=srandby@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.