From: Eli Zaretskii <eliz@gnu.org>
To: "Stefan-W. Hahn" <stefan.hahn@s-hahn.de>
Cc: 16830@debbugs.gnu.org
Subject: bug#16830: [Bug] 24.3.50; massive slow down in forward-line
Date: Sat, 22 Feb 2014 11:18:08 +0200 [thread overview]
Message-ID: <838ut34ib3.fsf@gnu.org> (raw)
In-Reply-To: <20140222083926.GC27381@pille.home>
> Date: Sat, 22 Feb 2014 09:39:27 +0100
> From: "Stefan-W. Hahn" <stefan.hahn@s-hahn.de>
> Cc: Eli Zaretskii <eliz@gnu.org>
>
> If you search for #### you will find the item, which shows the problem.
> If you then type C-c C-c on the #+BEGIN line you will get it.
>
> I observed that it is not as slow as in the original file. Perhaps this
> has to do with to fontifying, because org-mode now has much less to fontify.
> It also makes no difference if the items after this item are inside the
> file.
>
> But anyway it is compared to an older emacs where it takes less then a
> second to update the table.
OK, I can confirm the slow-down. The profile points to forward-line,
so I disabled cache-long-scans, and -- lo and behold -- the slowdown
went away. So this should be the workaround for the time being.
It looks like the overhead of caching newlines, which is supposed to
be small, is somehow very large in this case.
next prev parent reply other threads:[~2014-02-22 9:18 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-02-21 12:16 bug#16830: [Bug] 24.3.50; massive slow down in forward-line Stefan-W. Hahn
2014-02-21 12:32 ` Eli Zaretskii
2014-02-21 15:51 ` Stefan-W. Hahn
2014-02-21 17:50 ` Stefan Monnier
2014-02-22 8:38 ` Stefan-W. Hahn
[not found] ` <20140222083926.GC27381@pille.home>
2014-02-22 9:18 ` Eli Zaretskii [this message]
2014-02-22 11:08 ` Stefan-W. Hahn
2014-02-22 11:29 ` Eli Zaretskii
2014-02-22 11:36 ` Eli Zaretskii
2014-02-22 12:33 ` Stefan-W. Hahn
2014-02-22 12:55 ` Juanma Barranquero
2014-02-22 15:06 ` Stefan-W. Hahn
2014-02-22 13:05 ` Eli Zaretskii
2014-02-21 7:43 ` Stefan-W. Hahn
2014-02-23 18:04 ` Eli Zaretskii
2014-02-22 12:27 ` Stefan-W. Hahn
2014-03-10 18:58 ` Eli Zaretskii
2014-03-11 8:08 ` martin rudalics
2014-03-11 17:03 ` Eli Zaretskii
2014-03-12 14:12 ` Stefan Monnier
2014-03-16 16:32 ` Eli Zaretskii
2014-03-17 15:05 ` bug#16830: " Dmitry Antipov
2014-03-17 16:39 ` Eli Zaretskii
2014-06-22 16:50 ` Eli Zaretskii
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=838ut34ib3.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=16830@debbugs.gnu.org \
--cc=stefan.hahn@s-hahn.de \
/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 public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).