From: Thorsten Jolitz <tjolitz@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: Relative performance of text-properties search functions
Date: Fri, 24 May 2013 16:10:04 +0200 [thread overview]
Message-ID: <87vc68bhab.fsf@gmail.com> (raw)
In-Reply-To: 83txltsnrq.fsf@gnu.org
Eli Zaretskii <eliz@gnu.org> writes:
>> From: Thorsten Jolitz <tjolitz@gmail.com>
>> Date: Thu, 23 May 2013 14:16:47 +0200
>>
>> the right thing to do (from a performance point of view) in a case where
>> at the end of each outline (or org-mode) headline in a buffer a
>> replacing display spec should be inserted, and then updated many times
>> afterwards (either on user demand or via a visibility-change hook):
>
> Beware: too many replacing display specs will slow down redisplay in
> Emacs 24.1 and later. If you have alternatives, consider them first.
I can imagine that in a .emacs with thousands of lines and hundreds of
headllines, redisplay of some headline cookies with every visibility
change will make Emacs work hard.
--
cheers,
Thorsten
next prev parent reply other threads:[~2013-05-24 14:10 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-05-23 12:16 Relative performance of text-properties search functions Thorsten Jolitz
2013-05-23 13:10 ` Stefan Monnier
2013-05-23 15:45 ` Eli Zaretskii
2013-05-24 14:10 ` Thorsten Jolitz [this message]
2013-05-24 15:27 ` Eli Zaretskii
2013-05-24 17:26 ` Thorsten Jolitz
2013-05-24 18:17 ` Eli Zaretskii
2013-05-24 18:40 ` Thorsten Jolitz
2013-05-24 19:44 ` Eli Zaretskii
2013-05-24 21:14 ` Thorsten Jolitz
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=87vc68bhab.fsf@gmail.com \
--to=tjolitz@gmail.com \
--cc=help-gnu-emacs@gnu.org \
/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.
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).