Avoid buffering line content to compute indent guides (#15167)

Release Notes:

- Improved performance when computing indent guides for buffers with
extremely long lines.

---------

Co-authored-by: Nathan <nathan@zed.dev>
Co-authored-by: Bennet <bennet@zed.dev>
Co-authored-by: Thorsten <thorsten@zed.dev>
This commit is contained in:
Antonio Scandurra 2024-07-25 15:21:50 +02:00 committed by GitHub
parent cd9a42e8da
commit 8631180e43
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 411 additions and 51 deletions

2
Cargo.lock generated
View file

@ -8863,6 +8863,8 @@ version = "0.1.0"
dependencies = [
"arrayvec",
"criterion",
"ctor",
"env_logger",
"gpui",
"log",
"rand 0.8.5",