Sublime Forum

Zed is faster than Sublime Text4?

#21

Zed is created by the authors of TreeSitter, so the answer is most likely, no.

1 Like

#22

I was suspicious at 75ms insertion latency, so I run tests myself. Sublime Text 4169 vs Zed 0.125.1, macOS 14.2.1, MacBook Pro 14" 2021.

Guess what? Zed is not faster (at least for me):

Empty file:

Input.rs, as they suggest on the website:

Tool used: https://github.com/pavelfatin/typometer/ (run as java --add-opens java.desktop/java.awt=ALL-UNNAMED -jar typometer-1.0.1.jar on modern JVM)

Sublime Text wins again!

6 Likes

#23

This is if we do not go into details about how tree-sitter works in reality.
The idea and its representation are not the same thing.
That is why when you open large files - ST copes much better. Otherwise, there is no need to position Zed as a universal editor.

If the representation of the program code in the tree-sitter structure takes up less space than the source text, then everything will become more unambiguous - and there will be a revolution not only in editors, but in everything, version control systems, code formatting, …
Although this requires public awareness, which did not happen, for example, with the EXI XML format.

0 Likes