[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Re: Slow movement in large buffers
From: |
Bastien |
Subject: |
Re: [O] Re: Slow movement in large buffers |
Date: |
Wed, 16 Mar 2011 02:16:05 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) |
Nick Dokos <address@hidden> writes:
> Given the evidence that Lawrence Mitchell provided however, it seems clear
> that most of the blame can be placed on overlays - no?
Yes, probably.
I've also experience slow motion in some big files of mine.
One factor was the use of the :ARCHIVE: tag. I tried to remove this
tag, and things were fast again. Another factor might be the use of
folded drawers and #+begin_src environments.
So I guess the problem boils down to 2 factors: the number of *nested
overlays*, and the number of lines in each. How these factors interact
is hard to guess.
Instead of testing from org-issues.org (which is pretty messy), maybe
we can have a testing/overlays.org file with a systematic structure?
#+begin_src org
* headline 1
** A subheading with 100 lines
lines ... lines (x 100)
* headline 2
** A subheading with 100 lines (x 100)
:PROPERTIES:
:LOCATION: Erewhon
:END:
lines ... lines (x 100)
* headline 3
** A subheading with begin_src env and 100 lines (x 100)
#+begin_src emacs-lisp
(defun fixme ()
"Some random defun"
(message "This is not a message")
#+begin_src
lines ... lines (x 100)
* headline 4
** subheading with archive tag and 100 lines :ARCHIVE: (x 100)
lines ... lines (x 100)
#+end_src
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?
--
Bastien
- Re: [O] Slow movement in large buffers, (continued)
- Re: [O] Slow movement in large buffers, Carsten Dominik, 2011/03/15
- Re: [O] Slow movement in large buffers, Lawrence Mitchell, 2011/03/15
- [O] Re: Slow movement in large buffers, Matt Lundin, 2011/03/15
- Re: [O] Slow movement in large buffers, Nick Dokos, 2011/03/15
- [O] Re: Slow movement in large buffers, Matt Lundin, 2011/03/15
- [O] Re: Slow movement in large buffers, Carsten Dominik, 2011/03/15
- Re: [O] Re: Slow movement in large buffers, Christian Moe, 2011/03/15
- Re: [O] Re: Slow movement in large buffers, Nick Dokos, 2011/03/15
- Re: [O] Re: Slow movement in large buffers, Christian Moe, 2011/03/15
- Re: [O] Re: Slow movement in large buffers, Nick Dokos, 2011/03/15
- Re: [O] Re: Slow movement in large buffers,
Bastien <=
- [O] Re: Slow movement in large buffers, Matt Lundin, 2011/03/17
Re: [O] Slow movement in large buffers, Chris Randle, 2011/03/15