"Stephen J. Turnbull" <stephen(a)xemacs.org> writes:
>>>>> "Hrvoje" == Hrvoje Niksic
<hniksic(a)arsdigita.com> writes:
Hrvoje> Programs making heavy use of text properties will notice
Hrvoje> the slowness, and it's a real problem.
Er, font-lock does, now.
Font-lock has always used text properties, and given other things
font-lock is doing, I don't think they are the bottle-neck. Although,
you never know.
Do you know if Mule would make it worse?
I don't know.
I think you basically just need to ask for the biggest contiguous
region satisfying a constraint and containing point
You should always be able to get a list of all extents in the region,
and get the last one. But doing that for every character in turn
might well end up being O(n^2).