[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Optimizing performance of buffer markers
From: |
Eli Zaretskii |
Subject: |
Re: Optimizing performance of buffer markers |
Date: |
Sat, 25 Jun 2022 12:20:57 +0300 |
> From: Stefan Monnier <monnier@iro.umontreal.ca>
> Cc: yantar92@gmail.com, casouri@gmail.com, emacs-devel@gnu.org
> Date: Sat, 25 Jun 2022 05:07:59 -0400
>
> > Landing that branch is indeed a very Good Thing, but AFAIU this
> > discussion revealed that Org adds quite a few markers of its own when
> > it parses the buffer, because it wants to track the positions of some
> > syntactic elements of the buffer.
>
> That's quite unusual, tho, and I suspect that Org's code could be
> changed to use overlays instead (after all, we could define an
> "efficient marker" as (make-overlay POS POS)).
If that is going to be our advice, it would make sense to reimplement
markers as a kind of overlays, so that Lisp programs shouldn't bother
with this trick.
- Re: Exposing buffer text modifications to Lisp, (continued)
- Re: Exposing buffer text modifications to Lisp, Ihor Radchenko, 2022/06/21
- Re: Exposing buffer text modifications to Lisp, Eli Zaretskii, 2022/06/21
- Optimizing performance of buffer markers (was: Exposing buffer text modifications to Lisp), Ihor Radchenko, 2022/06/25
- Re: Optimizing performance of buffer markers, Stefan Monnier, 2022/06/25
- Re: Optimizing performance of buffer markers, Eli Zaretskii, 2022/06/25
- Re: Optimizing performance of buffer markers, Stefan Monnier, 2022/06/25
- Re: Optimizing performance of buffer markers,
Eli Zaretskii <=
- Re: Optimizing performance of buffer markers, Stefan Monnier, 2022/06/25
- Re: Optimizing performance of buffer markers, Ihor Radchenko, 2022/06/25
- Re: Optimizing performance of buffer markers, Stefan Monnier, 2022/06/25
- Re: Optimizing performance of buffer markers, Robert Pluim, 2022/06/26
- Re: Exposing buffer text modifications to Lisp, Basil L. Contovounesios, 2022/06/22
- Re: Exposing buffer text modifications to Lisp, Eli Zaretskii, 2022/06/22
- Re: Exposing buffer text modifications to Lisp, Ihor Radchenko, 2022/06/25
- Re: Exposing buffer text modifications to Lisp, Eli Zaretskii, 2022/06/25
- Re: Exposing buffer text modifications to Lisp, Ihor Radchenko, 2022/06/29
- Re: Exposing buffer text modifications to Lisp, Alan Mackenzie, 2022/06/20