help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Relative performance of text-properties search functions


From: Thorsten Jolitz
Subject: Relative performance of text-properties search functions
Date: Thu, 23 May 2013 14:16:47 +0200
User-agent: Gnus/5.130002 (Ma Gnus v0.2) Emacs/24.3 (gnu/linux)

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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]