[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Optimizing performance of buffer markers
From: |
Stefan Monnier |
Subject: |
Re: Optimizing performance of buffer markers |
Date: |
Sat, 25 Jun 2022 04:29:08 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) |
> AFAIK, the most natural data structure to search for data
> before/after given key is a binary tree. There are more exotic data
> structures, like skip list, but I do not expect skip lists to be
> implemented in Emacs C code.
BTW, most markers are actually part of overlays. And Andreas Politz
implemented an AA-tree based representation of overlays for Emacs (see
the branch `feature/noverlay`).
So if you have performance problems due to overlays, you might want to
check the branch, make sure it solves the problem, and see if you can
get it merged once and for all into `master`.
Stefan
- Re: Exposing buffer text modifications to Lisp (was: Tree-sitter integration on feature/tree-sitter), (continued)
- Re: Exposing buffer text modifications to Lisp (was: Tree-sitter integration on feature/tree-sitter), Eli Zaretskii, 2022/06/18
- Re: Exposing buffer text modifications to Lisp (was: Tree-sitter integration on feature/tree-sitter), Ihor Radchenko, 2022/06/18
- Re: Exposing buffer text modifications to Lisp, Eli Zaretskii, 2022/06/18
- Re: Exposing buffer text modifications to Lisp, Ihor Radchenko, 2022/06/20
- Re: Exposing buffer text modifications to Lisp, Eli Zaretskii, 2022/06/20
- Re: Exposing buffer text modifications to Lisp, Stefan Kangas, 2022/06/20
- Re: Exposing buffer text modifications to Lisp, Ihor Radchenko, 2022/06/20
- 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 <=
- 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, 2022/06/25
- 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