unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Relative performance of text-properties search functions
@ 2013-05-23 12:16 Thorsten Jolitz
  2013-05-23 13:10 ` Stefan Monnier
  2013-05-23 15:45 ` Eli Zaretskii
  0 siblings, 2 replies; 10+ messages in thread
From: Thorsten Jolitz @ 2013-05-23 12:16 UTC (permalink / raw)
  To: help-gnu-emacs


Hi List, 

I'm just discovering Emacs text-properties, and I wonder what would be
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):

1. use 'outline-next-visible-heading' and 'move-end-of-line' to find the
specs and then insert/modifify them?
2. use Emacs text-properties search functions to find the specs?

I would guess its (1), but would like to reassure myself by asking this
question. 

-- 
cheers,
Thorsten





^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2013-05-24 21:14 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
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

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).