[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Gap buffer problem?
From: |
Dmitry Gutov |
Subject: |
Re: Gap buffer problem? |
Date: |
Thu, 12 Dec 2024 21:07:25 +0200 |
User-agent: |
Mozilla Thunderbird |
On 12/12/2024 05:49, Gerd Möllmann wrote:
The Zed editor, which is heavily performance-oriented, decided to use
ropes. They have are a number of blog entries that I find interesting,
for example
https://zed.dev/blog/zed-decoded-rope-sumtree
IIUC their goal there was a use a data structure that can do everything.
They also have an ambition to support live collaboration, which we don't
have anything for, and not for the reasons of performance.
VSCode uses persistent piece tables
https://code.visualstudio.com/blogs/2018/03/23/text-buffer-reimplementation
And this article compared to the previous "array of strings" implementation.
Both editors' data structures (not ropes) seem to have something that
can be used like our "newline cache", so if anything I would try to
understand whether either has an advantage in that area.
- Re: Gap buffer problem?, (continued)
- Re: Gap buffer problem?, Eli Zaretskii, 2024/12/11
- Re: Gap buffer problem?, Dmitry Gutov, 2024/12/11
- Re: Gap buffer problem?, Gerd Möllmann, 2024/12/11
- Re: Gap buffer problem?, Robert Pluim, 2024/12/12
- Re: Gap buffer problem?, Gerd Möllmann, 2024/12/12
- Re: Gap buffer problem?, Pip Cet, 2024/12/11
- Re: Gap buffer problem?, Gerd Möllmann, 2024/12/11
- Re: Gap buffer problem?, Marcus Harnisch, 2024/12/11
- Re: Gap buffer problem?, Dmitry Gutov, 2024/12/11
- Re: Gap buffer problem?, Gerd Möllmann, 2024/12/11
- Re: Gap buffer problem?,
Dmitry Gutov <=
- Re: Gap buffer problem?, Eli Zaretskii, 2024/12/12
- Re: Gap buffer problem?, Gerd Möllmann, 2024/12/12
- Re: Gap buffer problem?, Eli Zaretskii, 2024/12/12
- Re: Gap buffer problem?, Eli Zaretskii, 2024/12/11
- Re: Gap buffer problem?, Gerd Möllmann, 2024/12/11
- Re: Gap buffer problem?, Eli Zaretskii, 2024/12/11
- Re: Gap buffer problem?, Gerd Möllmann, 2024/12/11
- Re: pdumper on Solaris 10, Gerd Möllmann, 2024/12/10
- Re: pdumper on Solaris 10, Pip Cet, 2024/12/10
- Re: pdumper on Solaris 10, Eli Zaretskii, 2024/12/10