[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Overlays as an AA-tree
From: |
Joakim Jalap |
Subject: |
Re: Overlays as an AA-tree |
Date: |
Tue, 20 Sep 2016 18:19:33 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) |
Lars Ingebrigtsen <address@hidden> writes:
> I seem to recall that somebody made the suggestion earlier to make
> overlays a special case of text properties, and then getting rid of most
> of the low-level overlay code. Text properties are already implemented
> pretty efficiently, I think?
Well, I think the main difference is that overlays are object, that is,
there is a struct Lisp_Overlay. There were some issues with how
intervals are grafted into a buffer if I recall correctly.
> I don't know how feasible this is, though.
Hm, perhaps there is a way to make a struct Lisp_Overlay which just
points to an interval. I should probably have a look at that again.
-- Joakim
Re: Overlays as an AA-tree, Stefan Monnier, 2016/09/21