Files
zed/crates/rope
Marco Mihai Condrache 8044f484ca editor: Optimize TabMap chunks generation (#48378)
Currently, the next chunk is generated by traversing all characters of
the current folded chunk until a tab is found. Since we already have
bitmasks for characters and tabs, we can also propagate the newlines
bitmap from the rope and use it to make this computation O(1) in all
cases.

I haven’t run benchmarks yet.

Release Notes:

- N/A
2026-02-18 08:53:26 +01:00
..